From 9828964f1f5436e369147aee91e3efee54009a93 Mon Sep 17 00:00:00 2001 From: yihuang Date: Wed, 15 Dec 2021 10:53:03 +0800 Subject: [PATCH] fix: remove redundant ante handler (#819) * remove redundant ante handler They are already checked in EthValidateBasicDecorator * changelog --- CHANGELOG.md | 1 + app/ante/ante.go | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ff025dc5..c6739d79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -47,6 +47,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ * (evm) [tharsis#826](https://github.com/tharsis/ethermint/issues/826) Improve allocation of bytes of `tx.To` address. * (evm) [tharsis#827](https://github.com/tharsis/ethermint/issues/827) Speed up creation of event logs by using the slice insertion idiom with indices. +* (ante) [tharsis#819](https://github.com/tharsis/ethermint/pull/819) remove redundant ante handlers ### Bug Fixes diff --git a/app/ante/ante.go b/app/ante/ante.go index 656bb194..9dba6cb5 100644 --- a/app/ante/ante.go +++ b/app/ante/ante.go @@ -55,8 +55,6 @@ func NewAnteHandler( anteHandler = sdk.ChainAnteDecorators( NewEthSetUpContextDecorator(), // outermost AnteDecorator. SetUpContext must be called first NewEthMempoolFeeDecorator(evmKeeper, feeMarketKeeper), // Check eth effective gas price against minimal-gas-prices - authante.NewTxTimeoutHeightDecorator(), - authante.NewValidateMemoDecorator(ak), NewEthValidateBasicDecorator(evmKeeper), NewEthSigVerificationDecorator(evmKeeper), NewEthAccountVerificationDecorator(ak, bankKeeper, evmKeeper),