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: make Block generic over transaction #13388

Merged
merged 2 commits into from
Dec 13, 2024
Merged

feat: make Block generic over transaction #13388

merged 2 commits into from
Dec 13, 2024

Conversation

klkvr
Copy link
Collaborator

@klkvr klkvr commented Dec 13, 2024

This should allow to reuse the same block type for OP until we have an op-specific header type

/// Block header.
#[deref]
pub header: Header,
/// Block body.
pub body: BlockBody,
pub body: BlockBody<T>,
Copy link
Collaborator

Choose a reason for hiding this comment

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

let me check what else is missing in alloy's blackbody type, would be nice to reuse that as well

@klkvr klkvr added this pull request to the merge queue Dec 13, 2024
Merged via the queue into main with commit 8e6ad7a Dec 13, 2024
42 checks passed
@klkvr klkvr deleted the klkvr/generic-block branch December 13, 2024 18:21
emhane pushed a commit to ethereum-optimism/op-reth that referenced this pull request Dec 13, 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