Skip to content

fix: update tests for perBlockAllocationMultiplier 2 -> 1.2 and deploy_method priority fee#21458

Merged
aminsammara merged 2 commits intoam/alpha-configfrom
claudebox/fix-mainnet-config-tests
Mar 12, 2026
Merged

fix: update tests for perBlockAllocationMultiplier 2 -> 1.2 and deploy_method priority fee#21458
aminsammara merged 2 commits intoam/alpha-configfrom
claudebox/fix-mainnet-config-tests

Conversation

@AztecBot
Copy link
Collaborator

Summary

Fixes test failures in PR #21451 caused by changing perBlockAllocationMultiplier from 2 to 1.2 in DefaultSequencerConfig.

  • sequencer-client.test.ts: Updated expected values in computeBlockLimits tests to reflect multiplier=1.2 instead of 2. Multi-block mode now correctly expects maxL2BlockGas=240_000 (was 400_000), maxTxsPerBlock=24 (was 40), and corresponding DA gas limits.
  • gossip_network.test.ts: Added comment explaining the proven block timeout must exceed one full epoch duration plus proving time.

ClaudeBox log: https://claudebox.work/s/95e2c727bf329f12?run=1

@AztecBot AztecBot added the claudebox Owned by claudebox. it can push to this PR. label Mar 12, 2026
@AztecBot AztecBot changed the base branch from merge-train/spartan to am/alpha-config March 12, 2026 22:08
@AztecBot AztecBot force-pushed the claudebox/fix-mainnet-config-tests branch from 7875f21 to 26ccbcd Compare March 12, 2026 22:11
@spalladino spalladino marked this pull request as ready for review March 12, 2026 22:12
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.
@AztecBot AztecBot changed the title fix: update tests for perBlockAllocationMultiplier 2 -> 1.2 fix: update tests for perBlockAllocationMultiplier 2 -> 1.2 and deploy_method priority fee Mar 12, 2026
@aminsammara aminsammara merged commit 0df8732 into am/alpha-config Mar 12, 2026
9 checks passed
@aminsammara aminsammara deleted the claudebox/fix-mainnet-config-tests branch March 12, 2026 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants