Skip to content

fix: address flake in fee settings test#21991

Merged
LHerskind merged 1 commit intonextfrom
lh/a-874-flake-in-fee_settings
Apr 9, 2026
Merged

fix: address flake in fee settings test#21991
LHerskind merged 1 commit intonextfrom
lh/a-874-flake-in-fee_settings

Conversation

@LHerskind
Copy link
Copy Markdown
Contributor

fee_settings.test.ts could flake because its two proveTx calls could read different getCurrentMinFees() values if the node synced L1 state in between. This change makes the behavior test deterministic by waiting until the deploy block is checkpointed, taking a baseline fee snapshot, and preparing both transactions against controlled fee snapshots. It also adds a deterministic regression test that forces different fee snapshots for the two proveTx calls and reproduces the original stale-snapshot race directly.`

@PhilWindle PhilWindle added this pull request to the merge queue Mar 25, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Mar 25, 2026
@PhilWindle PhilWindle added this pull request to the merge queue Mar 26, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Mar 26, 2026
@LHerskind LHerskind added this pull request to the merge queue Apr 7, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 7, 2026
@LHerskind LHerskind force-pushed the lh/a-874-flake-in-fee_settings branch from f0080c4 to 52771b4 Compare April 9, 2026 15:58
@LHerskind LHerskind enabled auto-merge April 9, 2026 15:58
@LHerskind LHerskind added this pull request to the merge queue Apr 9, 2026
Merged via the queue into next with commit 73f98c7 Apr 9, 2026
20 checks passed
@LHerskind LHerskind deleted the lh/a-874-flake-in-fee_settings branch April 9, 2026 16:54
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.

3 participants