Check gas limit consistency with the target - #10760
Merged
Merged
Conversation
zilm13
enabled auto-merge (squash)
May 29, 2026 10:36
StefanBratanov
approved these changes
May 29, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
PR Description
Implementation of ethereum/consensus-specs#5236
Part of alpha.8 spec #10724
Fixed Issue(s)
Documentation
doc-change-requiredlabel to this PR if updates are required.Changelog
Note
Medium Risk
Changes Gloas gossip validation and SSZ field naming for proposer preferences, affecting which builder bids are accepted; fork upgrade bid initialization is also adjusted.
Overview
Aligns Gloas proposer preferences with consensus-spec alpha.8 by renaming the SSZ field from
gas_limittotarget_gas_limitand threading that name through creation, publishing, and payload-attribute selection.Execution payload bid gossip no longer rejects bids whose
gas_limitdiffers from preferences by exact equality. It now ignores bids unlessgas_limitis compatible withtarget_gas_limitunder the EIP-1559 卤1/1024 rule from the parent execution payload鈥檚 gas limit, deferring validation when the parent limit is unknown.GossipValidationHelperexposes parent gas limit lookup from the store.Gloas fork upgrade seeds
latest_execution_payload_bidwith the pre-fork latest payload gas limit instead of zero. Reference tests temporarily skip the Gloas fork directory until alpha.8 vectors land.Reviewed by Cursor Bugbot for commit 33e3bee. Bugbot is set up for automated code reviews on this repo. Configure here.