diff --git a/app/ante/eth.go b/app/ante/eth.go index 48f55b4c..27350448 100644 --- a/app/ante/eth.go +++ b/app/ante/eth.go @@ -17,8 +17,6 @@ import ( ethtypes "github.com/ethereum/go-ethereum/core/types" ) -const MaxTxGasWanted uint64 = 500000 - // EthSigVerificationDecorator validates an ethereum signatures type EthSigVerificationDecorator struct { evmKeeper EVMKeeper diff --git a/app/ante/eth_test.go b/app/ante/eth_test.go index e2fb65db..a4ebdaf6 100644 --- a/app/ante/eth_test.go +++ b/app/ante/eth_test.go @@ -269,7 +269,7 @@ func (suite AnteTestSuite) TestEthGasConsumeDecorator() { { "success", tx2, - ante.MaxTxGasWanted, // it's capped + config.DefaultMaxTxGasWanted, // it's capped func() { vmdb.AddBalance(addr, big.NewInt(1000000))