From 415d5bcdce157555408253ed42b0817c7b5b7c49 Mon Sep 17 00:00:00 2001 From: z2trillion Date: Wed, 30 Oct 2024 20:31:53 -0400 Subject: [PATCH] fix clippy --- aggregator/src/batch.rs | 2 +- aggregator/src/blob_consistency/blob_data.rs | 1 + aggregator/src/blob_consistency/eip4844.rs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/aggregator/src/batch.rs b/aggregator/src/batch.rs index d82a2b4272..5e3f5bbe6b 100644 --- a/aggregator/src/batch.rs +++ b/aggregator/src/batch.rs @@ -273,7 +273,7 @@ impl BatchHash { let batch_data = BatchData::::new(number_of_valid_chunks, chunks_with_padding); let current_batch_hash = batch_header.batch_hash(); - let blob_consistency_witness = BlobConsistencyWitness::new(&blob_bytes, &batch_data); + let blob_consistency_witness = BlobConsistencyWitness::new(blob_bytes, &batch_data); log::info!( "batch hash {:?}, datahash {}, z {}, y {}, versioned hash {:x}", diff --git a/aggregator/src/blob_consistency/blob_data.rs b/aggregator/src/blob_consistency/blob_data.rs index 0325f1813d..e604eb34b9 100644 --- a/aggregator/src/blob_consistency/blob_data.rs +++ b/aggregator/src/blob_consistency/blob_data.rs @@ -287,6 +287,7 @@ impl BlobDataConfig { )) } + #[allow(clippy::type_complexity)] pub fn assign_internal_checks( &self, region: &mut Region, diff --git a/aggregator/src/blob_consistency/eip4844.rs b/aggregator/src/blob_consistency/eip4844.rs index 91fd57e638..8958f0ffd5 100644 --- a/aggregator/src/blob_consistency/eip4844.rs +++ b/aggregator/src/blob_consistency/eip4844.rs @@ -176,7 +176,7 @@ impl BlobConsistencyWitness { let coeffs = get_coefficients(bytes); let blob_versioned_hash = get_versioned_hash(&coeffs); let point_evaluation_assignments = - PointEvaluationAssignments::new(&batch_data, bytes, blob_versioned_hash); + PointEvaluationAssignments::new(batch_data, bytes, blob_versioned_hash); Self { blob_versioned_hash, challenge_digest: digest_from_word(point_evaluation_assignments.challenge_digest),