From 66239ba2e06d8c4c64b2c6355b05be55b2dc0c28 Mon Sep 17 00:00:00 2001 From: Freddy Caceres Date: Mon, 8 Aug 2022 19:42:17 -0400 Subject: [PATCH] remove duplicate import --- rpc/backend/call_tx.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rpc/backend/call_tx.go b/rpc/backend/call_tx.go index 3e20782eec..b572f5e5da 100644 --- a/rpc/backend/call_tx.go +++ b/rpc/backend/call_tx.go @@ -13,7 +13,6 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/vm" - "github.com/evmos/ethermint/rpc/types" rpctypes "github.com/evmos/ethermint/rpc/types" ethermint "github.com/evmos/ethermint/types" evmtypes "github.com/evmos/ethermint/x/evm/types" @@ -272,7 +271,7 @@ func (b *Backend) SetTxDefaults(args evmtypes.TransactionArgs) (evmtypes.Transac AccessList: args.AccessList, } - blockNr := types.NewBlockNumber(big.NewInt(0)) + blockNr := rpctypes.NewBlockNumber(big.NewInt(0)) estimated, err := b.EstimateGas(callArgs, &blockNr) if err != nil { return args, err