Skip to content

execution/tests: fix bug where pre-execution validity check was skipped pre-london#21607

Merged
yperbasis merged 2 commits into
erigontech:mainfrom
felix314159:main
Jun 4, 2026
Merged

execution/tests: fix bug where pre-execution validity check was skipped pre-london#21607
yperbasis merged 2 commits into
erigontech:mainfrom
felix314159:main

Conversation

@felix314159

Copy link
Copy Markdown
Contributor

annoying when doing differential fuzzing across client t8n's, but not relevant for mainnet. more context and reproducible test in execution-specs pr

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes state-test message construction for pre-London forks so that legacy transactions don’t accidentally bypass the “can the sender afford gas?” pre-execution validation when running via the JSON transaction fallback path (toMessage).

Changes:

  • When baseFee == nil (pre-London), initialize feeCap and tipCap from gasPrice so downstream validation/balance checks use the correct fee parameters.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@yperbasis yperbasis enabled auto-merge June 3, 2026 13:57
@yperbasis yperbasis added this pull request to the merge queue Jun 4, 2026
Merged via the queue into erigontech:main with commit 9a3b4d2 Jun 4, 2026
86 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants