Skip to content

test(e2e): sync anvil clock before sequencer start#24474

Open
spalladino wants to merge 1 commit into
merge-train/spartan-v5from
spl/sync-anvil-clock-before-sequencer
Open

test(e2e): sync anvil clock before sequencer start#24474
spalladino wants to merge 1 commit into
merge-train/spartan-v5from
spl/sync-anvil-clock-before-sequencer

Conversation

@spalladino

@spalladino spalladino commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Adds an EthCheatCodes helper that disables automine, mines a fresh block, syncs the TestDateProvider, and starts interval mining. Used when e2e setup hands off from automined L1 deployment to interval mining before sequencer startup.

Should prevent a flake where anvil was left with a different date as the TestDateProvider after the automines triggered by the L1 deployment, and on the first L1 block mined the date provider automatically synced to the anvil date, warping time under the running node and causing a prune.

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.

2 participants