Skip to content

Fix is_builder_payment_withdrawable function#4774

Merged
jtraglia merged 1 commit intoethereum:masterfrom
gitToki:master
Dec 5, 2025
Merged

Fix is_builder_payment_withdrawable function#4774
jtraglia merged 1 commit intoethereum:masterfrom
gitToki:master

Conversation

@gitToki
Copy link
Copy Markdown
Contributor

@gitToki gitToki commented Dec 4, 2025

We were checking if the builder had not been slashed or if the withdrawable epoch was in the future compared to the current epoch.
We should check if the builder has not been slashed or if the current epoch is equal to or has passed the withdrawable epoch.

@jtraglia jtraglia added the gloas label Dec 4, 2025
@gitToki gitToki changed the title fix is_builder_payment_withdrawable function Fix is_builder_payment_withdrawable function Dec 4, 2025
Copy link
Copy Markdown
Member

@jtraglia jtraglia left a comment

Choose a reason for hiding this comment

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

Yup, good catch. Not sure how I missed that. Thank you!

PS: @ensi321 tried to point this out too but there was a misunderstanding.

Copy link
Copy Markdown
Contributor

@potuz potuz left a comment

Choose a reason for hiding this comment

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

The function as currently specified is correct, this PR should be closed.

Copy link
Copy Markdown
Contributor

@potuz potuz left a comment

Choose a reason for hiding this comment

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

No, my bad this is actually correct, there must be no test for this then.

@jtraglia jtraglia merged commit 937a3a3 into ethereum:master Dec 5, 2025
36 of 37 checks passed
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.

3 participants