Skip to content

Incorrect base fee usage in tracing tests #28773

@palango

Description

@palango

While working on another issue, I found that in the tracing tests the base fee is generally set to nil (see https://github.com/ethereum/go-ethereum/blob/master/eth/tracers/internal/tracetest/prestate_test.go#L120). Changing this to pass the proper base fee works for most tests, but TestPrestateWithDiffModeTracer runs into problems in the create_failed.json test case.

Here the base fee is 51088069741, and the transactions fee limit is set to 112855938170. The transactions tip cap is 1500000000. This leads to a gas price of 112855938170 when the base fee is not set, but 52588069741 when the base fee is set.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions