You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to have a solution that ensures correct typing, such that we have:
/// A message that is used to announce a new block to the network.#[derive(Clone,Debug,PartialEq,Eq,RlpEncodable,RlpDecodable)]pubstructNewBlock{/// The signature from the block author.pubsignature:Signature,/// The block that is being announced.pubblock: reth_scroll_primitives::ScrollBlock,}
The reason we currently don't have this is because Signature does not implement Encodable. We may be able to address this by implementing Encodable ourselves on this type instead of leveraging the macro but I'm not sure. I will open an issue.
I would like to have a solution that ensures correct typing, such that we have:
The reason we currently don't have this is because
Signature
does not implementEncodable
. We may be able to address this by implementingEncodable
ourselves on this type instead of leveraging the macro but I'm not sure. I will open an issue.Originally posted by @frisitano in #68 (comment)
The text was updated successfully, but these errors were encountered: