cleanup an unused const (#1009)

This commit is contained in:
yihuang 2022-03-22 17:24:26 +08:00 committed by GitHub
parent 9807d7c6de
commit bde62e2d31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

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

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))