Skip to content

Commit

Permalink
Derive arbitrary for Sealed<T>
Browse files Browse the repository at this point in the history
  • Loading branch information
emhane committed Oct 4, 2024
1 parent 0cd3a72 commit 7556ceb
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 @@ -6,6 +6,7 @@ use crate::B256;
/// 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))]
#[cfg_attr(feature = "arbitrary", derive(derive_arbitrary::Arbitrary, proptest_derive::Arbitrary))]
pub struct Sealed<T> {
/// The inner item
inner: T,
Expand Down

0 comments on commit 7556ceb

Please sign in to comment.