diff --git a/crates/primitives/src/sealed.rs b/crates/primitives/src/sealed.rs index 2de9ade525..f69ded2d6b 100644 --- a/crates/primitives/src/sealed.rs +++ b/crates/primitives/src/sealed.rs @@ -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 { /// The inner item inner: T,