Skip to content

Feat/http subscription - #2

Merged
PoulavBhowmick03 merged 5 commits into
smartprogrammer93:feat/http-subscriptionfrom
0xNeshi:feat/http-subscription
Mar 4, 2026
Merged

PoulavBhowmick03 merged 5 commits into
smartprogrammer93:feat/http-subscriptionfrom
0xNeshi:feat/http-subscription

Conversation

@0xNeshi

@0xNeshi 0xNeshi commented Mar 4, 2026

Copy link
Copy Markdown

Needed to merge OpenZeppelin#32

impl<N: Network> From<PollerBuilder<(U256,), Vec<BlockHash>>> for SubscriptionBackend<N> {
fn from(value: PollerBuilder<(U256,), Vec<BlockHash>>) -> Self {
use futures_util::{StreamExt, stream};
use tokio_stream::StreamExt;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nit: move this to top level ?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

It's only used in this scope, and only when #[cfg(feature = "http-subscription")] is true (again, in this scope), so it's fine

@smartprogrammer93

Copy link
Copy Markdown
Owner

@0xNeshi looks good. Merge at will

@0xNeshi

0xNeshi commented Mar 4, 2026

Copy link
Copy Markdown
Author

@0xNeshi looks good. Merge at will

You'll have to do it, I don't have permission to merge

@PoulavBhowmick03 PoulavBhowmick03 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Added/Updated documentation around the changes and refactor in subscription.rs, removing futures_util dependency, using tokio_stream instead

@PoulavBhowmick03
PoulavBhowmick03 merged commit a6272cd into smartprogrammer93:feat/http-subscription Mar 4, 2026
6 of 7 checks passed
@0xNeshi
0xNeshi deleted the feat/http-subscription branch March 5, 2026 12:11
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