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

chore(sdk): Define helper trait MaybeCompact #12683

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

emhane
Copy link
Member

@emhane emhane commented Nov 19, 2024

Ref #12454

@emhane emhane changed the title Define helper trait MaybeCompact chore(sdk): Define helper trait MaybeCompact Nov 19, 2024
@emhane emhane added C-debt Refactor of code section that is hard to understand or maintain A-sdk Related to reth's use as a library labels Nov 19, 2024
@emhane emhane requested review from mattsse and klkvr November 19, 2024 19:39
Comment on lines +30 to +32
/// Uncle block header.
type Header: BlockHeader + 'static;

Copy link
Collaborator

Choose a reason for hiding this comment

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

this does not belong in this pr

Copy link
Member Author

Choose a reason for hiding this comment

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

if I restrict the bound to just 'static is that ok? that way the Compact trait bound can properly be applied on FullBlockBody.

Copy link
Collaborator

Choose a reason for hiding this comment

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

unclear why this is introduced, seems out of scope for this pr

@emhane emhane requested a review from mattsse November 19, 2024 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sdk Related to reth's use as a library C-debt Refactor of code section that is hard to understand or maintain
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants