Skip to content

Commit

Permalink
bind_test: remove auth.GasFeeCap (ava-labs#1063)
Browse files Browse the repository at this point in the history
  • Loading branch information
darioush authored Jan 25, 2024
1 parent d305e3f commit 076b653
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions accounts/abi/bind/bind_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1443,13 +1443,11 @@ var bindTests = []struct {
"github.com/ava-labs/subnet-evm/accounts/abi/bind/backends"
"github.com/ava-labs/subnet-evm/core"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ava-labs/subnet-evm/params"
`,
`
// Initialize test accounts
key, _ := crypto.GenerateKey()
auth, _ := bind.NewKeyedTransactorWithChainID(key, big.NewInt(1337))
auth.GasFeeCap = new(big.Int).SetInt64(params.TestMaxBaseFee)
sim := backends.NewSimulatedBackend(core.GenesisAlloc{auth.From: {Balance: new(big.Int).Mul(big.NewInt(10000000000000000), big.NewInt(1000))}}, 10000000)
defer sim.Close()
Expand Down

0 comments on commit 076b653

Please sign in to comment.