From 93de3afaf9142a2d566f164ddc046f42544a1269 Mon Sep 17 00:00:00 2001 From: Caio Date: Thu, 3 Oct 2024 01:43:46 -0300 Subject: [PATCH] chose: fk20 benches clippy happy (#800) --- nomos-da/kzgrs/benches/fk20.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nomos-da/kzgrs/benches/fk20.rs b/nomos-da/kzgrs/benches/fk20.rs index 9af01a59..7cd2e851 100644 --- a/nomos-da/kzgrs/benches/fk20.rs +++ b/nomos-da/kzgrs/benches/fk20.rs @@ -1,6 +1,4 @@ -use ark_bls12_381::{Bls12_381, Fr, G1Affine, G1Projective}; -use ark_ec::AffineRepr; -use ark_ff::BigInt; +use ark_bls12_381::{Bls12_381, Fr}; use ark_poly::univariate::DensePolynomial; use ark_poly::{EvaluationDomain, GeneralEvaluationDomain}; use ark_poly_commit::kzg10::KZG10; @@ -36,7 +34,7 @@ fn compute_fk20_proofs_for_size(bencher: Bencher, size: usize) { poly }) .input_counter(move |_| ItemsCount::new(size)) - .bench_refs(|(poly)| { + .bench_refs(|poly| { black_box(fk20_batch_generate_elements_proofs( poly, &GLOBAL_PARAMETERS,