Skip to content

Feat/http subscription#2

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

Feat/http subscription#2
PoulavBhowmick03 merged 5 commits intosmartprogrammer93:feat/http-subscriptionfrom
0xNeshi:feat/http-subscription

Conversation

@0xNeshi
Copy link

@0xNeshi 0xNeshi commented Mar 4, 2026

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

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
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
Owner

@0xNeshi looks good. Merge at will

@0xNeshi
Copy link
Author

0xNeshi commented Mar 4, 2026

@0xNeshi looks good. Merge at will

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

Copy link
Collaborator

@PoulavBhowmick03 PoulavBhowmick03 left a comment

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