Skip to content

Commit d9a0b48

Browse files
committed
merge
2 parents a7dd9ee + d314d12 commit d9a0b48

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

consensus/types/src/beacon_block_body.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,11 @@ pub const BLOB_KZG_COMMITMENTS_INDEX: usize = 11;
5353
cast_error(ty = "Error", expr = "Error::IncorrectStateVariant"),
5454
partial_getter_error(ty = "Error", expr = "Error::IncorrectStateVariant")
5555
)]
56-
#[derive(Debug, Clone, Serialize, Deserialize, Derivative, TreeHash, arbitrary::Arbitrary)]
56+
#[derive(Debug, Clone, Serialize, Deserialize, Derivative, arbitrary::Arbitrary)]
5757
#[derivative(PartialEq, Hash(bound = "T: EthSpec"))]
5858
#[serde(untagged)]
5959
#[serde(bound = "T: EthSpec, Payload: AbstractExecPayload<T>")]
6060
#[arbitrary(bound = "T: EthSpec, Payload: AbstractExecPayload<T>")]
61-
#[tree_hash(enum_behaviour = "transparent")]
6261
pub struct BeaconBlockBody<T: EthSpec, Payload: AbstractExecPayload<T> = FullPayload<T>> {
6362
pub randao_reveal: Signature,
6463
pub eth1_data: Eth1Data,

consensus/types/src/beacon_block_header.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ use tree_hash_derive::TreeHash;
1313
#[derive(
1414
arbitrary::Arbitrary,
1515
Debug,
16-
Default,
1716
PartialEq,
1817
Eq,
1918
Hash,

0 commit comments

Comments
 (0)