Skip to content

Commit

Permalink
Remove unused derive.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmygchen committed Mar 13, 2024
1 parent 8a7b2bc commit d314d12
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions consensus/types/src/beacon_block_body.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,11 @@ pub const BLOB_KZG_COMMITMENTS_INDEX: usize = 11;
cast_error(ty = "Error", expr = "Error::IncorrectStateVariant"),
partial_getter_error(ty = "Error", expr = "Error::IncorrectStateVariant")
)]
#[derive(Debug, Clone, Serialize, Deserialize, Derivative, TreeHash, arbitrary::Arbitrary)]
#[derive(Debug, Clone, Serialize, Deserialize, Derivative, arbitrary::Arbitrary)]
#[derivative(PartialEq, Hash(bound = "T: EthSpec"))]
#[serde(untagged)]
#[serde(bound = "T: EthSpec, Payload: AbstractExecPayload<T>")]
#[arbitrary(bound = "T: EthSpec, Payload: AbstractExecPayload<T>")]
#[tree_hash(enum_behaviour = "transparent")]
pub struct BeaconBlockBody<T: EthSpec, Payload: AbstractExecPayload<T> = FullPayload<T>> {
pub randao_reveal: Signature,
pub eth1_data: Eth1Data,
Expand Down
1 change: 0 additions & 1 deletion consensus/types/src/beacon_block_header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use tree_hash_derive::TreeHash;
#[derive(
arbitrary::Arbitrary,
Debug,
Default,
PartialEq,
Eq,
Hash,
Expand Down

0 comments on commit d314d12

Please sign in to comment.