Skip to content

Commit

Permalink
testgen: fix "gas" parameter for createAccessList
Browse files Browse the repository at this point in the history
  • Loading branch information
fjl committed Jan 28, 2024
1 parent c895bef commit c045879
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testgen/generators.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit c045879

Please sign in to comment.