Skip to content

merge, execmoduletester: add FakeMerge engine and Prague pre-deploys …#19525

Merged
yperbasis merged 5 commits intomainfrom
fix/merge-faker
Mar 2, 2026
Merged

merge, execmoduletester: add FakeMerge engine and Prague pre-deploys …#19525
yperbasis merged 5 commits intomainfrom
fix/merge-faker

Conversation

@mh0lt
Copy link
Contributor

@mh0lt mh0lt commented Feb 27, 2026

…for tests

Add FakeMerge consensus engine that wraps Merge with a fake PoW scheme, mirroring the existing FakeEthash pattern. Use it in ExecModuleTester when TerminalTotalDifficultyPassed is set, and deploy Prague system contracts (EIP-7002, EIP-7251) so FinalizeAndAssemble succeeds.

This change is intended to make sure that tests which generate chains produce blocks which a finalized according to the forks specified in the test config. This is not too big a deal for pre BAL manual testing but with agents and the need to generate bals - which track system contract touches under some circumstances - this change is more important.

…for tests

Add FakeMerge consensus engine that wraps Merge with a fake PoW scheme,
mirroring the existing FakeEthash pattern. Use it in ExecModuleTester
when TerminalTotalDifficultyPassed is set, and deploy Prague system
contracts (EIP-7002, EIP-7251) so FinalizeAndAssemble succeeds.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mh0lt mh0lt requested review from shohamc1 and taratorio February 27, 2026 17:01
@mh0lt mh0lt requested a review from yperbasis as a code owner February 27, 2026 17:01
@mh0lt mh0lt added Glamsterdam https://eips.ethereum.org/EIPS/eip-7773 labels Feb 28, 2026
@yperbasis yperbasis merged commit 55a7cf8 into main Mar 2, 2026
25 checks passed
@yperbasis yperbasis deleted the fix/merge-faker branch March 2, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Glamsterdam https://eips.ethereum.org/EIPS/eip-7773 Pectra

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants