Skip to content

Commit

Permalink
fix: cosmos tx ante
Browse files Browse the repository at this point in the history
  • Loading branch information
aofengli committed Aug 16, 2023
1 parent 868185e commit 4fa4577
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/ante/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ func NewAnteHandler(options HandlerOptions) sdk.AnteHandler {
switch tx.(type) {
case sdk.Tx:
anteHandler = sdk.ChainAnteDecorators(
ethermintante.RejectMessagesDecorator{},
gas.NewSetUpContextDecorator(), // outermost AnteDecorator. SetUpContext must be called first
perm.NewAuthDecorator(options.PermKeeper),
ante.NewMempoolFeeDecorator(),
Expand Down

0 comments on commit 4fa4577

Please sign in to comment.