From c045879ea70972d26e87747daa4672dc00c45b02 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Sun, 28 Jan 2024 13:04:30 +0100 Subject: [PATCH] testgen: fix "gas" parameter for createAccessList --- testgen/generators.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testgen/generators.go b/testgen/generators.go index 3bae982..4f8d06c 100644 --- a/testgen/generators.go +++ b/testgen/generators.go @@ -690,7 +690,7 @@ var EthCreateAccessList = MethodTests{ "from": sender, "to": emitContract, "nonce": hexutil.Uint64(nonce), - "gasLimit": hexutil.Uint64(60000), + "gas": hexutil.Uint64(60000), "gasPrice": (*hexutil.Big)(gasprice), "input": "0x010203040506", } @@ -724,7 +724,7 @@ This invocation uses EIP-1559 fields to specify the gas price.`, "from": sender, "to": emitContract, "nonce": hexutil.Uint64(nonce), - "gasLimit": hexutil.Uint64(60000), + "gas": hexutil.Uint64(60000), "maxFeePerGas": (*hexutil.Big)(gasprice), "maxPriorityFeePerGas": (*hexutil.Big)(big.NewInt(3)), "input": "0x010203040506",