fix: update tests for perBlockAllocationMultiplier 2 -> 1.2 and deploy_method priority fee#21458
Merged
aminsammara merged 2 commits intoam/alpha-configfrom Mar 12, 2026
Merged
Conversation
7875f21 to
26ccbcd
Compare
spalladino
approved these changes
Mar 12, 2026
DA gas fees are zero in the test environment, so GasFees(1n, 0n) results in zero effective priority fee after capping. Switch to GasFees(0n, 1n) to use L2 gas priority instead, ensuring the deploy tx is ordered before the public call tx. Cherry-pick of the fix from #21373.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes test failures in PR #21451 caused by changing
perBlockAllocationMultiplierfrom 2 to 1.2 inDefaultSequencerConfig.computeBlockLimitstests to reflect multiplier=1.2 instead of 2. Multi-block mode now correctly expectsmaxL2BlockGas=240_000(was 400_000),maxTxsPerBlock=24(was 40), and corresponding DA gas limits.ClaudeBox log: https://claudebox.work/s/95e2c727bf329f12?run=1