Gloas payload preparation fixed to use the proposal slot for parent choice
Nov 4 find · published Oct 27GHGitHub · ethereum/consensus-specs · 1 min readRead original
Ethereum protocol researchProposer-builder separationExecution payload preparation
jtraglia merged a fix to Gloas payload preparation that ensures the proposal slot is used when choosing between full and empty parent payloads. The `prepare_execution_payload` function was called before the proposal slot with the clock still at the head block's slot, skipping PTC votes. This caused the payload to build on the full parent while the bid, made in the proposal slot, named the empty one, failing envelope verification. The fix passes `state.slot`, already advanced to the proposal slot, to `should_build_on_full`, so payload preparation, the bid rule, and `is_bid_compatible_with_head` all evaluate the same slot. Heze, which redefines the function, receives the same change.
Comments
Sign in to join the conversation.