Skip to content

Add test for get_builders_sweep_withdrawals - #5369

Merged
jtraglia merged 3 commits into
ethereum:masterfrom
brech1:test/builder-sweep-withdrawal
Jun 17, 2026
Merged

Add test for get_builders_sweep_withdrawals#5369
jtraglia merged 3 commits into
ethereum:masterfrom
brech1:test/builder-sweep-withdrawal

Conversation

@brech1

@brech1 brech1 commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Description

This PR adds coverage for the get_builders_sweep_withdrawals function. It adds a test for the limit of how many sweep withdrawals should be processed in a single run, the standard get_builder_withdrawals had this covered but this was missing for the sweep withdrawals.

Changes

  • test_builder_sweep_withdrawals_limit: checks the sweep stops on MAX_WITHDRAWALS_PER_PAYLOAD - 1 (current limit), leaving the last eligible builder unpaid

@github-actions github-actions Bot added the testing CI, actions, tests, testing infra label Jun 17, 2026

@jtraglia jtraglia left a comment

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.

Thanks!

@jtraglia
jtraglia merged commit dc50745 into ethereum:master Jun 17, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing CI, actions, tests, testing infra

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants