Skip to content

Commit

Permalink
feat: derive arbitrary::Arbitrary for TxEip7702 (#1216)
Browse files Browse the repository at this point in the history
eip7702: derive arbitrary::Arbitrary for TxEip7702
  • Loading branch information
tcoratger authored Aug 29, 2024
1 parent 6f0bfdb commit 08c3c34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/consensus/src/transaction/eip7702.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use alloy_eips::eip7702::{constants::EIP7702_TX_TYPE_ID, SignedAuthorization};

/// A transaction with a priority fee ([EIP-7702](https://eips.ethereum.org/EIPS/eip-7702)).
#[derive(Clone, Debug, Default, PartialEq, Eq, Hash)]
#[cfg_attr(any(test, feature = "arbitrary"), derive(arbitrary::Arbitrary))]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[cfg_attr(feature = "serde", serde(rename_all = "camelCase"))]
#[doc(alias = "Eip7702Transaction", alias = "TransactionEip7702", alias = "Eip7702Tx")]
Expand Down

0 comments on commit 08c3c34

Please sign in to comment.