From 664033fe42842b318f520188e7b706e3dcbdc619 Mon Sep 17 00:00:00 2001 From: Cathie Yun <3314874+cathieyun@users.noreply.github.com> Date: Mon, 23 Jan 2023 12:09:03 -0700 Subject: [PATCH] Update benchmarks for new linear_proof API --- benches/linear_proof.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/benches/linear_proof.rs b/benches/linear_proof.rs index cd75a590..b262a920 100644 --- a/benches/linear_proof.rs +++ b/benches/linear_proof.rs @@ -64,7 +64,7 @@ fn create_linear_proof_helper(c: &mut Criterion) { G.clone(), &F, &B, - ); + ).unwrap(); }) }, TEST_SIZES, @@ -141,7 +141,7 @@ fn linear_verify(c: &mut Criterion) { G.clone(), &F, &B, - ); + ).unwrap(); (proof, C) }; @@ -150,7 +150,7 @@ fn linear_verify(c: &mut Criterion) { bench.iter(|| { let mut verifier_transcript = Transcript::new(b"LinearProofBenchmark"); proof - .verify(*n, &mut verifier_transcript, &C, &G, &F, &B, b.clone()) + .verify(&mut verifier_transcript, &C, &G, &F, &B, b.clone()) .unwrap(); }); },