eth/tracers: fix benchmarks #23806 (#1262)

This commit is contained in:
Daniel Liu 2025-07-26 17:48:42 +08:00 committed by GitHub
parent f3e346c471
commit f87caf0b58
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -307,7 +307,7 @@ func BenchmarkTransactionTrace(b *testing.B) {
Time: new(big.Int).SetUint64(uint64(5)),
Difficulty: big.NewInt(0xffffffff),
GasLimit: gas,
// BaseFee: big.NewInt(8),
BaseFee: big.NewInt(8),
}
alloc := types.GenesisAlloc{}
// The code pushes 'deadbeef' into memory, then the other params, and calls CREATE2, then returns