Skip to content

Commit

Permalink
Fix call to supernova::RecursiveSNARK::verify (#951)
Browse files Browse the repository at this point in the history
* fix call to `supernova::RecursiveSNARK::verify`

* revert Cargo.toml change
  • Loading branch information
mpenciak authored Dec 13, 2023
1 parent dc209b1 commit 09bcd8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/proof/supernova.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,14 @@ where
pp: &Self::PublicParams,
z0: &[F],
zi: &[F],
last_circuit_idx: usize,
_last_circuit_idx: usize,
) -> Result<bool, Self::ErrorType> {
let (z0_primary, zi_primary) = (z0, zi);
let z0_secondary = Self::z0_secondary();
let zi_secondary = &z0_secondary;

let (zi_primary_verified, zi_secondary_verified) = match self {
Self::Recursive(p) => p.verify(&pp.pp, last_circuit_idx, z0_primary, &z0_secondary)?,
Self::Recursive(p) => p.verify(&pp.pp, z0_primary, &z0_secondary)?,
Self::Compressed(_) => unimplemented!(),
};

Expand Down

1 comment on commit 09bcd8a

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmarks

Table of Contents

Overview

This benchmark report shows the Fibonacci GPU benchmark.
NVIDIA L4
Intel(R) Xeon(R) CPU @ 2.20GHz
125.78 GB RAM
Workflow run: https://github.com/lurk-lab/lurk-rs/actions/runs/7196164011

Benchmark Results

LEM Fibonacci Prove - rc = 100

fib-ref=dc209b17b17dcebcb9e4059258ada84391073f07 fib-ref=09bcd8a5018418501d49fc3b11e109fa2d6af09d
num-100 3.86 s (✅ 1.00x) 3.85 s (✅ 1.00x faster)
num-200 7.69 s (✅ 1.00x) 7.69 s (✅ 1.00x faster)

LEM Fibonacci Prove - rc = 600

fib-ref=dc209b17b17dcebcb9e4059258ada84391073f07 fib-ref=09bcd8a5018418501d49fc3b11e109fa2d6af09d
num-100 3.34 s (✅ 1.00x) 3.34 s (✅ 1.00x faster)
num-200 7.30 s (✅ 1.00x) 7.30 s (✅ 1.00x faster)

Made with criterion-table

Please sign in to comment.