From d190ccfc318256bc2b857055708bd4f23c24e395 Mon Sep 17 00:00:00 2001 From: Arsenii Kulikov Date: Mon, 2 Sep 2024 05:42:55 +0400 Subject: [PATCH] derive arbitrary for TxDeposit --- crates/consensus/src/transaction/deposit.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/consensus/src/transaction/deposit.rs b/crates/consensus/src/transaction/deposit.rs index 7b519b0f..6d0d9a8c 100644 --- a/crates/consensus/src/transaction/deposit.rs +++ b/crates/consensus/src/transaction/deposit.rs @@ -9,6 +9,7 @@ use core::mem; /// Deposit transactions, also known as deposits are initiated on L1, and executed on L2. #[derive(Debug, Clone, PartialEq, Eq, Hash, Default)] +#[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[cfg_attr(feature = "serde", serde(rename_all = "camelCase"))] pub struct TxDeposit {