Skip to content

Conversation

@shane-moore
Copy link

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

Changes per spec

  • modified get_pending_balance_to_withdraw

How this works

There are a couple places in the codebase where we want to verify that a validator has no pending balances to withdraw before allowing them to initiate an exit or consolidation. Pre-gloas, we were calling get_pending_balance_to_withdraw to check whether their BeaconState.pending_partial_withdrawals was empty and if so, let them proceed. Since gloas introduces BeaconState.builder_pending_payments and BeaconState.builder_pending_withdrawals, we now have to account for these pending validator balances as well before letting them proceed with an exit or consolidation.

@ethDreamer
@eserilev

@shane-moore shane-moore changed the title modify get_pending_balance_to_withdraw per gloas spec Gloas modify get_pending_balance_to_withdraw per gloas spec Oct 27, 2025
@shane-moore shane-moore changed the title Gloas modify get_pending_balance_to_withdraw per gloas spec Gloas modify get_pending_balance_to_withdraw 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