Skip to content

Commit

Permalink
chore: Expose NewEhtAnteHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
dudong2 committed Oct 30, 2024
1 parent 8415ec1 commit 07bf755
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/ante/handler_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ func (options HandlerOptions) validate() error {
return nil
}

func NewEthAnteHandler(options HandlerOptions) sdk.AnteHandler {
return newEthAnteHandler(options)
}

func newEthAnteHandler(options HandlerOptions) sdk.AnteHandler {
return func(ctx sdk.Context, tx sdk.Tx, simulate bool) (sdk.Context, error) {
blockCfg, err := options.EvmKeeper.EVMBlockConfig(ctx, options.EvmKeeper.ChainID())
Expand Down

0 comments on commit 07bf755

Please sign in to comment.