Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Commit 415d5bc

Browse files
committed
fix clippy
1 parent b50708e commit 415d5bc

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

aggregator/src/batch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ impl<const N_SNARKS: usize> BatchHash<N_SNARKS> {
273273

274274
let batch_data = BatchData::<N_SNARKS>::new(number_of_valid_chunks, chunks_with_padding);
275275
let current_batch_hash = batch_header.batch_hash();
276-
let blob_consistency_witness = BlobConsistencyWitness::new(&blob_bytes, &batch_data);
276+
let blob_consistency_witness = BlobConsistencyWitness::new(blob_bytes, &batch_data);
277277

278278
log::info!(
279279
"batch hash {:?}, datahash {}, z {}, y {}, versioned hash {:x}",

aggregator/src/blob_consistency/blob_data.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ impl<const N_SNARKS: usize> BlobDataConfig<N_SNARKS> {
287287
))
288288
}
289289

290+
#[allow(clippy::type_complexity)]
290291
pub fn assign_internal_checks(
291292
&self,
292293
region: &mut Region<Fr>,

aggregator/src/blob_consistency/eip4844.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ impl BlobConsistencyWitness {
176176
let coeffs = get_coefficients(bytes);
177177
let blob_versioned_hash = get_versioned_hash(&coeffs);
178178
let point_evaluation_assignments =
179-
PointEvaluationAssignments::new(&batch_data, bytes, blob_versioned_hash);
179+
PointEvaluationAssignments::new(batch_data, bytes, blob_versioned_hash);
180180
Self {
181181
blob_versioned_hash,
182182
challenge_digest: digest_from_word(point_evaluation_assignments.challenge_digest),

0 commit comments

Comments
 (0)