accounts/abi/bind: fix bounded contracts and sim backend for 1559 (#23038)
* accounts/abi/bind: fix bounded contracts and sim backend for 1559 * accounts/abi/bind, ethclient: don't rely on chain config for gas prices * all: enable London for all internal tests * les: get receipt type info in les tests * les: fix weird test Co-authored-by: Martin Holst Swende <martin@swende.se>
This commit is contained in:
@ -175,7 +175,13 @@ func TestCheckpointRegister(t *testing.T) {
|
||||
sort.Sort(accounts)
|
||||
|
||||
// Deploy registrar contract
|
||||
contractBackend := backends.NewSimulatedBackend(core.GenesisAlloc{accounts[0].addr: {Balance: big.NewInt(1000000000)}, accounts[1].addr: {Balance: big.NewInt(1000000000)}, accounts[2].addr: {Balance: big.NewInt(1000000000)}}, 10000000)
|
||||
contractBackend := backends.NewSimulatedBackend(
|
||||
core.GenesisAlloc{
|
||||
accounts[0].addr: {Balance: big.NewInt(10000000000000000)},
|
||||
accounts[1].addr: {Balance: big.NewInt(10000000000000000)},
|
||||
accounts[2].addr: {Balance: big.NewInt(10000000000000000)},
|
||||
}, 10000000,
|
||||
)
|
||||
defer contractBackend.Close()
|
||||
|
||||
transactOpts, _ := bind.NewKeyedTransactorWithChainID(accounts[0].key, big.NewInt(1337))
|
||||
|
Reference in New Issue
Block a user