Skip to content

Commit

Permalink
enable ethpubkey
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Oct 25, 2024
1 parent 05d759a commit 793773b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/ante/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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),
Expand Down
4 changes: 3 additions & 1 deletion cmd/minitiad/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 793773b

Please sign in to comment.