Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test cases with blocks containing several withdrawal requests #4090

Merged
merged 2 commits into from
Jan 21, 2025

Conversation

ensi321
Copy link
Contributor

@ensi321 ensi321 commented Jan 21, 2025

A bug was discovered in devnet-5 by @pk910 in discord regarding Lodestar's inability to process a block that contains multiple valid withdrawal requests.

Likely a gap we've missed in the spec test, as the only tests I have seen which generates multiple withdrawal requests are from random_block_electra() which the requests are not valid.

Adding test cases in sanity blocks to cover this scenario. Have tested locally with pre-patched Lodestar failing and post-patched Lodestar passing.

@rolfyone
Copy link
Contributor

nice, i think these would have caught our issue.

Copy link
Contributor

@mkalinin mkalinin left a comment

Choose a reason for hiding this comment

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

Thank you very much!

@mkalinin mkalinin requested a review from jtraglia January 21, 2025 08:40
@jtraglia jtraglia merged commit b7c4e27 into ethereum:dev Jan 21, 2025
23 checks passed
wemeetagain pushed a commit to ChainSafe/lodestar that referenced this pull request Jan 27, 2025
Run against latest spec, there are a bunch of good new test cases (eg.
ethereum/consensus-specs#4090)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants