Skip to content

Commit

Permalink
fix: correct the "plonk" benchmarking (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
guorong009 authored Aug 26, 2024
1 parent bc857a7 commit 26fc7c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions halo2_proofs/benches/plonk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ fn criterion_benchmark(c: &mut Criterion) {
params,
pk,
&[circuit],
&[vec![vec![]]],
&[vec![]],
rng,
&mut transcript,
)
Expand All @@ -302,7 +302,7 @@ fn criterion_benchmark(c: &mut Criterion) {
fn verifier(params: &ParamsIPA<EqAffine>, vk: &VerifyingKey<EqAffine>, proof: &[u8]) {
let strategy = SingleStrategy::new(params);
let mut transcript = Blake2bRead::<_, _, Challenge255<_>>::init(proof);
assert!(verify_proof(params, vk, strategy, &[vec![vec![]]], &mut transcript).is_ok());
assert!(verify_proof(params, vk, strategy, &[vec![]], &mut transcript).is_ok());
}

let k_range = 8..=16;
Expand Down

0 comments on commit 26fc7c2

Please sign in to comment.