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

Implement blob_sidecar event #7561

Merged
merged 5 commits into from
Oct 2, 2023
Merged

Conversation

tbenr
Copy link
Contributor

@tbenr tbenr commented Sep 29, 2023

Implements blob_sidecar SSE event.

Note that this diverges from block implementation: to capture locally produced blobs as well as the one arriving via gossip, I intercept blobs at BlobSidecarPool instead of BlobSidecarManager

Partially implements #7513

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

Copy link
Member

Choose a reason for hiding this comment

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

Do we need a test for only calling newBlobSidecarSubscribers.deliver() when the block is new?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure what you mean here. I added a test onNewBlobSidecar_shouldIgnoreDuplicates. Does it cover, in conjunction with onNewBlobSidecar_shouldIgnoreBlobsForAlreadyImportedBlocks, your doubts?

@tbenr
Copy link
Contributor Author

tbenr commented Oct 2, 2023

merging this 'cose it could be useful for devnet-9. Happy to update tests in a later PR if need.

@tbenr tbenr enabled auto-merge (squash) October 2, 2023 07:17
@tbenr tbenr merged commit 7f78428 into Consensys:master Oct 2, 2023
12 of 14 checks passed
@jtraglia jtraglia mentioned this pull request Oct 3, 2023
2 tasks
@tbenr tbenr deleted the Add-blob_sidecar-event branch October 3, 2023 16:38
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.

2 participants