Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
z2trillion committed Oct 31, 2024
1 parent b50708e commit 415d5bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aggregator/src/batch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ impl<const N_SNARKS: usize> BatchHash<N_SNARKS> {

let batch_data = BatchData::<N_SNARKS>::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}",
Expand Down
1 change: 1 addition & 0 deletions aggregator/src/blob_consistency/blob_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ impl<const N_SNARKS: usize> BlobDataConfig<N_SNARKS> {
))
}

#[allow(clippy::type_complexity)]
pub fn assign_internal_checks(
&self,
region: &mut Region<Fr>,
Expand Down
2 changes: 1 addition & 1 deletion aggregator/src/blob_consistency/eip4844.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 415d5bc

Please sign in to comment.