Skip to content

Commit

Permalink
testgen: add SpecOnly flag for estimateGas test
Browse files Browse the repository at this point in the history
  • Loading branch information
fjl committed Jan 30, 2024
1 parent 69c83bd commit 3569a46
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions testgen/generators.go
Original file line number Diff line number Diff line change
Expand Up @@ -618,8 +618,9 @@ var EthEstimateGas = MethodTests{
},
},
{
Name: "estimate-successful-call",
About: "estimates a successful contract call",
Name: "estimate-successful-call",
About: "estimates a successful contract call",
SpecOnly: true, // EVM gas estimation is not required to be identical across clients
Run: func(ctx context.Context, t *T) error {
caller := common.Address{1, 2, 3}
callme := t.chain.txinfo.CallMeContract.Addr
Expand Down

0 comments on commit 3569a46

Please sign in to comment.