From 8f89ae2f532d077a93aca8f66609064314b6dab4 Mon Sep 17 00:00:00 2001 From: querolita Date: Tue, 31 Oct 2023 16:46:46 +0100 Subject: [PATCH] remove COLUMNS parameter to set default value --- kimchi/src/bench.rs | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/kimchi/src/bench.rs b/kimchi/src/bench.rs index 57cd64ff80..97cb026a2e 100644 --- a/kimchi/src/bench.rs +++ b/kimchi/src/bench.rs @@ -77,12 +77,7 @@ impl BenchmarkCtx { } /// Produces a proof - pub fn create_proof( - &self, - ) -> ( - ProverProof, KIMCHI_COLS>, - Vec, - ) { + pub fn create_proof(&self) -> (ProverProof>, Vec) { // create witness let witness: [Vec; KIMCHI_COLS] = array::from_fn(|_| vec![1u32.into(); self.num_gates]); @@ -102,13 +97,7 @@ impl BenchmarkCtx { } #[allow(clippy::type_complexity)] - pub fn batch_verification( - &self, - batch: &[( - ProverProof, KIMCHI_COLS>, - Vec, - )], - ) { + pub fn batch_verification(&self, batch: &[(ProverProof>, Vec)]) { // verify the proof let batch: Vec<_> = batch .iter()