[wip] TxExtensionOptionI for ExtensionOptionsEthereumTx
This commit is contained in:
parent
dda48584a5
commit
d1c4da99b9
@ -354,6 +354,8 @@ func NewEthermintApp(
|
|||||||
)
|
)
|
||||||
bApp.SetCommitMultiStoreTracer(traceStore)
|
bApp.SetCommitMultiStoreTracer(traceStore)
|
||||||
bApp.SetVersion(version.Version)
|
bApp.SetVersion(version.Version)
|
||||||
|
|
||||||
|
evmtypes.RegisterInterfaces(interfaceRegistry)
|
||||||
bApp.SetInterfaceRegistry(interfaceRegistry)
|
bApp.SetInterfaceRegistry(interfaceRegistry)
|
||||||
|
|
||||||
// configure state listening capabilities using AppOptions
|
// configure state listening capabilities using AppOptions
|
||||||
|
@ -6,6 +6,7 @@ import (
|
|||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||||
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
|
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
|
||||||
"github.com/cosmos/cosmos-sdk/types/msgservice"
|
"github.com/cosmos/cosmos-sdk/types/msgservice"
|
||||||
|
"github.com/cosmos/cosmos-sdk/types/tx"
|
||||||
proto "github.com/gogo/protobuf/proto"
|
proto "github.com/gogo/protobuf/proto"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -26,6 +27,10 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) {
|
|||||||
(*ExtensionOptionsEthereumTxI)(nil),
|
(*ExtensionOptionsEthereumTxI)(nil),
|
||||||
&ExtensionOptionsEthereumTx{},
|
&ExtensionOptionsEthereumTx{},
|
||||||
)
|
)
|
||||||
|
registry.RegisterImplementations(
|
||||||
|
(*tx.TxExtensionOptionI)(nil),
|
||||||
|
&ExtensionOptionsEthereumTx{},
|
||||||
|
)
|
||||||
registry.RegisterInterface(
|
registry.RegisterInterface(
|
||||||
"ethermint.evm.v1.TxData",
|
"ethermint.evm.v1.TxData",
|
||||||
(*TxData)(nil),
|
(*TxData)(nil),
|
||||||
|
Loading…
Reference in New Issue
Block a user