Skip to content

Commit

Permalink
feat: derive arbitrary for BlobTransactionSidecar (#679)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored May 4, 2024
1 parent d78e79e commit e37968b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/eips/src/eip4844/sidecar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ use alloc::vec::Vec;
#[derive(Clone, Debug, Default, PartialEq, Eq, Hash)]
#[repr(C)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[cfg_attr(
any(test, feature = "arbitrary"),
derive(proptest_derive::Arbitrary, arbitrary::Arbitrary)
)]
pub struct BlobTransactionSidecar {
/// The blob data.
pub blobs: Vec<Blob>,
Expand Down

0 comments on commit e37968b

Please sign in to comment.