This commit is contained in:
Eitan Seri- Levi
2026-01-30 14:36:56 -08:00
parent e1439e61e0
commit 047599aac9
2 changed files with 12 additions and 3 deletions

View File

@@ -11,7 +11,11 @@ use tree_hash_derive::TreeHash;
#[derive(
Default, Debug, Clone, Serialize, Encode, Decode, Deserialize, TreeHash, Educe, TestRandom,
)]
#[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))]
#[cfg_attr(
feature = "arbitrary",
derive(arbitrary::Arbitrary),
arbitrary(bound = "E: EthSpec")
)]
#[educe(PartialEq, Hash)]
#[serde(bound = "E: EthSpec")]
#[context_deserialize(ForkName)]

View File

@@ -1,5 +1,6 @@
use crate::execution::ExecutionPayloadBid;
use crate::test_utils::TestRandom;
use crate::{EthSpec, ExecutionPayloadBid, ForkName};
use crate::{EthSpec, ForkName};
use bls::Signature;
use context_deserialize::context_deserialize;
use educe::Educe;
@@ -9,7 +10,11 @@ use test_random_derive::TestRandom;
use tree_hash_derive::TreeHash;
#[derive(TestRandom, TreeHash, Debug, Clone, Encode, Decode, Serialize, Deserialize, Educe)]
#[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))]
#[cfg_attr(
feature = "arbitrary",
derive(arbitrary::Arbitrary),
arbitrary(bound = "E: EthSpec")
)]
#[educe(PartialEq, Hash)]
#[serde(bound = "E: EthSpec")]
#[context_deserialize(ForkName)]