Skip to content

Commit d314d12

Browse files
committed
Remove unused derive.
1 parent 8a7b2bc commit d314d12

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
@@ -54,12 +54,11 @@ pub const BLOB_KZG_COMMITMENTS_INDEX: usize = 11;
5454
cast_error(ty = "Error", expr = "Error::IncorrectStateVariant"),
5555
partial_getter_error(ty = "Error", expr = "Error::IncorrectStateVariant")
5656
)]
57-
#[derive(Debug, Clone, Serialize, Deserialize, Derivative, TreeHash, arbitrary::Arbitrary)]
57+
#[derive(Debug, Clone, Serialize, Deserialize, Derivative, arbitrary::Arbitrary)]
5858
#[derivative(PartialEq, Hash(bound = "T: EthSpec"))]
5959
#[serde(untagged)]
6060
#[serde(bound = "T: EthSpec, Payload: AbstractExecPayload<T>")]
6161
#[arbitrary(bound = "T: EthSpec, Payload: AbstractExecPayload<T>")]
62-
#[tree_hash(enum_behaviour = "transparent")]
6362
pub struct BeaconBlockBody<T: EthSpec, Payload: AbstractExecPayload<T> = FullPayload<T>> {
6463
pub randao_reveal: Signature,
6564
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)