-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
base: main
Are you sure you want to change the base?
Conversation
MaybeCompact
MaybeCompact
/// Uncle block header. | ||
type Header: BlockHeader + 'static; | ||
|
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
.
There was a problem hiding this comment.
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
Ref #12454