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 Blob Reconstruction #14909

Merged
merged 3 commits into from
Feb 11, 2025
Merged

Fix Blob Reconstruction #14909

merged 3 commits into from
Feb 11, 2025

Conversation

nisdas
Copy link
Member

@nisdas nisdas commented Feb 11, 2025

What type of PR is this?

Bug Fix

What does this PR do? Why is it needed?

In the event the blob index mask is mutated by another routine, Prysm would end up building invalid blob sidecars. In order to prevent this from happening we now track the indexes of all the unseen commitments in a separate slice and use that as the canonical source of truth on which is the correct blob index. This allows us to not use the mutating bitmask and also only iterate through the unseen kzg commitments.

Which issues(s) does this PR fix?

Alternative to #14908

Other notes for review

Acknowledgements

@nisdas nisdas added the Networking P2P related items label Feb 11, 2025
@nisdas nisdas requested a review from a team as a code owner February 11, 2025 07:05
@terencechain terencechain added this pull request to the merge queue Feb 11, 2025
Merged via the queue into develop with commit 4b43f13 Feb 11, 2025
17 checks passed
@terencechain terencechain deleted the fixMutatingBlobMask branch February 11, 2025 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Networking P2P related items
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants