diff --git a/app/ante/ante.go b/app/ante/ante.go index de1af74..3a4be3c 100644 --- a/app/ante/ante.go +++ b/app/ante/ante.go @@ -14,6 +14,7 @@ import ( opchildante "github.com/initia-labs/OPinit/x/opchild/ante" opchildtypes "github.com/initia-labs/OPinit/x/opchild/types" "github.com/initia-labs/initia/app/ante/accnum" + "github.com/initia-labs/initia/app/ante/sigverify" "github.com/skip-mev/block-sdk/v2/block" auctionante "github.com/skip-mev/block-sdk/v2/x/auction/ante" @@ -111,7 +112,7 @@ func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) { ante.NewSetPubKeyDecorator(options.AccountKeeper), ante.NewValidateSigCountDecorator(options.AccountKeeper), ante.NewSigGasConsumeDecorator(options.AccountKeeper, sigGasConsumer), - ante.NewSigVerificationDecorator(options.AccountKeeper, options.SignModeHandler), + sigverify.NewSigVerificationDecorator(options.AccountKeeper, options.SignModeHandler), ante.NewIncrementSequenceDecorator(options.AccountKeeper), ibcante.NewRedundantRelayDecorator(options.IBCkeeper), auctionante.NewAuctionDecorator(options.AuctionKeeper, options.TxEncoder, options.MevLane), diff --git a/cmd/minitiad/root.go b/cmd/minitiad/root.go index 3cede90..b0c8db6 100644 --- a/cmd/minitiad/root.go +++ b/cmd/minitiad/root.go @@ -42,6 +42,7 @@ import ( wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" "github.com/initia-labs/initia/app/params" + cryptokeyring "github.com/initia-labs/initia/crypto/keyring" minitiaapp "github.com/initia-labs/miniwasm/app" opchildcli "github.com/initia-labs/OPinit/x/opchild/client/cli" @@ -92,7 +93,8 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) { WithInput(os.Stdin). WithAccountRetriever(types.AccountRetriever{}). WithHomeDir(minitiaapp.DefaultNodeHome). - WithViper(minitiaapp.EnvPrefix) + WithViper(minitiaapp.EnvPrefix). + WithKeyringOptions(cryptokeyring.Option()) rootCmd := &cobra.Command{ Use: basename,