Skip to content

Add note for is_builder_payment_withdrawable#4770

Merged
jtraglia merged 1 commit intoethereum:masterfrom
jtraglia:is-builder-payment-withdrawable-note
Dec 4, 2025
Merged

Add note for is_builder_payment_withdrawable#4770
jtraglia merged 1 commit intoethereum:masterfrom
jtraglia:is-builder-payment-withdrawable-note

Conversation

@jtraglia
Copy link
Copy Markdown
Member

@jtraglia jtraglia commented Dec 2, 2025

The is_builder_payment_withdrawable function is a bit unintuitive. This PR adds a note to explain things.

This PR also reverses the condition to match the new note.

PS: We're annotating this function because it has confused multiple devs, including myself.

@jtraglia jtraglia added the gloas label Dec 2, 2025
@jtraglia
Copy link
Copy Markdown
Member Author

jtraglia commented Dec 2, 2025

Also, this is what @potuz said about it:

image

@jtraglia jtraglia merged commit f0ef907 into ethereum:master Dec 4, 2025
16 checks passed
##### New `is_builder_payment_withdrawable`

*Note*: Builder payments are immediately withdrawable if the builder is not
slashed; this allows the builder to submit bids as soon as it becomes active. On
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this allows the builder to submit bids as soon as it becomes active.

How this function allows builders to submit bids as soon as it becomes active? This function is called during withdrawal processing, not upon bid submission.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@jihoonsong I think this function is getting removed in #4788

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ah, #4788 is the right next PR that I have in my overdue PRs queue 😅 Will take a look there, thanks! @ensi321

@jtraglia jtraglia deleted the is-builder-payment-withdrawable-note branch December 19, 2025 13:35
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.

4 participants