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

Fix Block Decoding During State Deletion #15008

Merged
merged 3 commits into from
Mar 4, 2025
Merged

Fix Block Decoding During State Deletion #15008

merged 3 commits into from
Mar 4, 2025

Conversation

nisdas
Copy link
Member

@nisdas nisdas commented Mar 4, 2025

What type of PR is this?

Bug Fix

What does this PR do? Why is it needed?

During state deletion, we have a potential code path which unmarshals a block in the event the state summary cannot be found. This code path was only unmarshalling for phase0 blocks, every alternate fork type would fail with a ssz error. This PR fixes it and adds in a regression test.

Which issues(s) does this PR fix?

Fixes #

Other notes for review

Acknowledgements

@nisdas nisdas added the Priority: High High priority item label Mar 4, 2025
@nisdas nisdas requested a review from a team as a code owner March 4, 2025 11:04
@nisdas nisdas requested review from kasey, dB2510 and james-prysm March 4, 2025 11:04
@nisdas nisdas added this pull request to the merge queue Mar 4, 2025
Merged via the queue into develop with commit 334920b Mar 4, 2025
16 checks passed
@nisdas nisdas deleted the fixBlockDecoding branch March 4, 2025 12:02
rkapka pushed a commit that referenced this pull request Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High High priority item
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants