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: introduce OpNetworkPrimitives #13335

Merged
merged 3 commits into from
Dec 16, 2024
Merged

feat: introduce OpNetworkPrimitives #13335

merged 3 commits into from
Dec 16, 2024

Conversation

Rjected
Copy link
Member

@Rjected Rjected commented Dec 12, 2024

Attempt at creating OpNetworkPrimitives, which is identical to EthNetworkPrimitives for now

@Rjected Rjected force-pushed the dan/op-network-primitives branch from 79261b4 to a1560e0 Compare December 13, 2024 22:19
@Rjected Rjected force-pushed the dan/op-network-primitives branch from a1560e0 to 6de498d Compare December 13, 2024 22:24
@Rjected Rjected marked this pull request as ready for review December 13, 2024 22:33
@Rjected Rjected added C-enhancement New feature or request A-sdk Related to reth's use as a library A-networking Related to networking in general labels Dec 13, 2024
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.

cool

Comment on lines 51 to 56
P: NetworkPrimitives<
BlockHeader = HeaderTy<N>,
BlockBody = BodyTy<N>,
Block = BlockTy<N>,
Receipt = ReceiptTy<N>,
>,
Copy link
Collaborator

Choose a reason for hiding this comment

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

can we add an alias for this?

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah we'll need it in a few places

@Rjected Rjected added this pull request to the merge queue Dec 16, 2024
Merged via the queue into main with commit 8b647d6 Dec 16, 2024
42 checks passed
@Rjected Rjected deleted the dan/op-network-primitives branch December 16, 2024 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-networking Related to networking in general A-sdk Related to reth's use as a library C-enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants