Skip to content

Conversation

@mkalinin
Copy link
Contributor

Fixes the bug found by @terencechain, detailed description can be found in this report: https://hackmd.io/@ttsao/S13TVqkA0

TL;DR: partial_withdrawals_count wasn’t taking skipped partial withdrawals into account, thus, some partial withdrawals were not removed from the queue even though there were processed which finally resulted in them being included twice into EL blocks.

This PR contains a test covering the above case, but there still the need of writing more tests for pending partial withdrawals.

ToDo

  • write more tests to cover pending partial withdrawals processing

@jtraglia jtraglia added the bug Something isn't working label Sep 26, 2024
Copy link
Member

@ralexstokes ralexstokes left a comment

Choose a reason for hiding this comment

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

nice catch! and I think this is a good fix for now

it may help testing/reasoning to refactor get_expected_withdrawals but that can come later, if it does

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working electra

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants