node icon indicating copy to clipboard operation
node copied to clipboard

Add events conversion for stateful precompiled contracts

Open fbac opened this issue 1 year ago • 0 comments

The stateful precompiled contracts define the following function to preserve state:

ExecuteNativeAction(contract common.Address, converter statedb.EventConverter, action func(ctx sdk.Context) error) error

The converter is an object that converts cosmos-sdk events into eth events, such as in this implementation.

Implement a way of handling this conversion. The implemention will need:

  • events
  • decoders

fbac avatar Aug 15 '24 10:08 fbac