Skip to content

Conversation

@shane-moore
Copy link

@shane-moore shane-moore commented Oct 23, 2025

Changes per spec:

  • process_withdrawals modified
    • get_expected_withdrawals modified
    • is_builder_payment_withdrawable added

How this works

gloas introduces the new BeaconState.builder_pending_withdrawals, which are pending payments from the in-protocol builder to the proposer that have a withdrawable epoch scheduled

process_withdrawals runs during block processing, the same as today. However, in the nested get_expected_withdrawals, we now sweep through the list of builder_pending_withdrawals and convert the ones that have hit their withdrawable epoch to Withdrawals

Then, back in process_withdrawals, we will sweep these withdrawals and decrement the balance of the builder on the CL. The payment to the fee recipient in the EL is made later via inclusion of Withdrawals in the envelope's ExecutionPayload.

@ethDreamer

@shane-moore shane-moore force-pushed the epbs-process-withdrawals branch 2 times, most recently from 84a4342 to 1001544 Compare October 24, 2025 14:39
@chong-he chong-he added the gloas label Oct 24, 2025
@shane-moore shane-moore changed the title gloas process withdrawals gloas modify process_withdrawals Oct 24, 2025
@shane-moore shane-moore force-pushed the epbs-process-withdrawals branch from 1001544 to 7414243 Compare October 25, 2025 15:07
@shane-moore shane-moore force-pushed the epbs-process-withdrawals branch from 7414243 to 3ce0363 Compare October 25, 2025 15:46
@shane-moore shane-moore changed the title gloas modify process_withdrawals Gloas modify process_withdrawals Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants