cleanup an unused const (#1009)

This commit is contained in:
yihuang
2022-03-22 10:24:26 +01:00
committed by GitHub
parent 9807d7c6de
commit bde62e2d31
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -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
+1 -1
View File
@@ -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))