cleanup an unused const (#1009)
This commit is contained in:
parent
9807d7c6de
commit
bde62e2d31
@ -17,8 +17,6 @@ import (
|
|||||||
ethtypes "github.com/ethereum/go-ethereum/core/types"
|
ethtypes "github.com/ethereum/go-ethereum/core/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
const MaxTxGasWanted uint64 = 500000
|
|
||||||
|
|
||||||
// EthSigVerificationDecorator validates an ethereum signatures
|
// EthSigVerificationDecorator validates an ethereum signatures
|
||||||
type EthSigVerificationDecorator struct {
|
type EthSigVerificationDecorator struct {
|
||||||
evmKeeper EVMKeeper
|
evmKeeper EVMKeeper
|
||||||
|
@ -269,7 +269,7 @@ func (suite AnteTestSuite) TestEthGasConsumeDecorator() {
|
|||||||
{
|
{
|
||||||
"success",
|
"success",
|
||||||
tx2,
|
tx2,
|
||||||
ante.MaxTxGasWanted, // it's capped
|
config.DefaultMaxTxGasWanted, // it's capped
|
||||||
func() {
|
func() {
|
||||||
vmdb.AddBalance(addr, big.NewInt(1000000))
|
vmdb.AddBalance(addr, big.NewInt(1000000))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user