Skip to content

apollo_versioned_constants: reduce block gas_target 1.5B -> 1.04B (SNIP-40)#14175

Merged
matanl-starkware merged 1 commit into
mainfrom
matanl/snip40-gas-target
May 25, 2026
Merged

apollo_versioned_constants: reduce block gas_target 1.5B -> 1.04B (SNIP-40)#14175
matanl-starkware merged 1 commit into
mainfrom
matanl/snip40-gas-target

Conversation

@matanl-starkware
Copy link
Copy Markdown
Collaborator

Per SNIP-40 "More Frequent Blocks", reduce the EIP-1559 block gas target from
1,500,000,000 to 1,040,000,000 L2 gas. Empirical data showed blocks were
hitting bouncer resource limits far more often than reaching the gas target;
the new target rebalances toward the actual binding capacity.

Spec: https://community.starknet.io/t/snip-40-more-frequent-blocks/116203

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

@reviewable-StarkWare
Copy link
Copy Markdown

This change is Reviewable

@cursor
Copy link
Copy Markdown

cursor Bot commented May 24, 2026

PR Summary

Medium Risk
Changes network-wide EIP-1559 block gas targeting at the v0.14.3 boundary, which can affect block fullness and base fee dynamics, though it is a spec-driven constant update with no application logic changes.

Overview
Implements SNIP-40 by lowering the orchestrator versioned constant gas_target from 1,500,000,000 to 1,040,000,000 L2 gas in orchestrator_versioned_constants_0_14_3.json, aligning the EIP-1559 target with observed bouncer-limited block capacity instead of the previous target.

The 0.14.2 → 0.14.3 versioned-constants diff regression snapshot is updated to record only this gas_target change.

Reviewed by Cursor Bugbot for commit 9b035e1. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown
Collaborator

@dorimedini-starkware dorimedini-starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dorimedini-starkware reviewed 2 files and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on matanl-starkware).

@graphite-app graphite-app Bot changed the base branch from matanl/snip40-block-time to main May 25, 2026 07:43
…IP-40)

Per SNIP-40 "More Frequent Blocks", reduce the EIP-1559 block gas target from
1,500,000,000 to 1,040,000,000 L2 gas. Empirical data showed blocks were
hitting bouncer resource limits far more often than reaching the gas target;
the new target rebalances toward the actual binding capacity.

Spec: https://community.starknet.io/t/snip-40-more-frequent-blocks/116203

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@matanl-starkware matanl-starkware force-pushed the matanl/snip40-gas-target branch from 1994eb6 to 9b035e1 Compare May 25, 2026 08:00
Copy link
Copy Markdown
Collaborator

@dorimedini-starkware dorimedini-starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dorimedini-starkware reviewed 3 files and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on matanl-starkware).

@matanl-starkware matanl-starkware added this pull request to the merge queue May 25, 2026
Merged via the queue into main with commit 822090d May 25, 2026
18 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators May 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants