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

feat: relax bounds for EthPubSub #13203

Merged
merged 8 commits into from
Dec 7, 2024
Merged

feat: relax bounds for EthPubSub #13203

merged 8 commits into from
Dec 7, 2024

Conversation

klkvr
Copy link
Member

@klkvr klkvr commented Dec 7, 2024

Based on #13202

This changes EthPubSub impl to directly send items to the stream instead of wrapping them into EthSubscriptionResult. I believe we're not losing much type safety that way and it allows us to avoid being blocked on upstream change in alloy making enum generic over header

EthPubSub bounds are relaxed to not require a concrete receipt generic, thus allowing to remove those bounds for rpc-builder types as well

@klkvr klkvr mentioned this pull request Dec 7, 2024
Base automatically changed from klkvr/less-generics-rpc to main December 7, 2024 03:51
@github-actions github-actions bot requested a review from joshieDo as a code owner December 7, 2024 03:51
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

we're getting closer

@mattsse
Copy link
Collaborator

mattsse commented Dec 7, 2024

accepted this branch's conflictes becaused based on fdb312f

@mattsse mattsse enabled auto-merge December 7, 2024 05:29
@mattsse mattsse added this pull request to the merge queue Dec 7, 2024
Merged via the queue into main with commit 6b35b05 Dec 7, 2024
41 checks passed
@mattsse mattsse deleted the klkvr/pubsub-relax branch December 7, 2024 05:45
lean-apple pushed a commit to lean-apple/reth that referenced this pull request Dec 12, 2024
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