Skip to content

Commit

Permalink
Appease Clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmygchen committed Jun 22, 2023
1 parent 1d4c55a commit fdbba30
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions consensus/types/src/deneb_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ use crate::test_utils::TestRandom;
use crate::{BeaconBlock, BlindedPayload, BlobSidecar, EthSpec, Hash256, SignedBeaconBlock, Slot};

// TODO(jimmy): to be moved to respective type files.
// TODO(jimmy): cleanup unused types.

#[derive(
Debug,
Expand Down Expand Up @@ -43,13 +44,16 @@ pub struct BlindedBlobSidecar {
pub kzg_proof: KzgProof,
}

#[allow(unused)]
type BlindedBlobSidecarList<E> = VariableList<BlindedBlobSidecar, <E as EthSpec>::MaxBlobsPerBlock>;

#[allow(unused)]
struct BlindedBlockContents<E: EthSpec> {
blinded_block: BeaconBlock<E, BlindedPayload<E>>,
blinded_blob_sidecars: BlindedBlobSidecarList<E>,
}

#[allow(unused)]
struct SignedBlindedBlockContents<E: EthSpec> {
signed_blinded_block: SignedBeaconBlock<E, BlindedPayload<E>>,
signed_blinded_blob_sidecars: BlindedBlobSidecarList<E>,
Expand Down

0 comments on commit fdbba30

Please sign in to comment.