Skip to content

Commit

Permalink
feat: derive ser deser on Sealed (#710)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrasiuk authored Aug 13, 2024
1 parent b4ca4fe commit 5a74483
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/primitives/src/sealed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use crate::B256;
/// We do not implement any specific hashing algorithm here. Instead types
/// implement the [`Sealable`] trait to provide define their own hash.
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct Sealed<T> {
/// The inner item
inner: T,
Expand Down

0 comments on commit 5a74483

Please sign in to comment.