Skip to content

Commit

Permalink
o1vm/pickles: Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzixnerd committed Oct 28, 2024
1 parent 772fee6 commit 824fd02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion o1vm/src/pickles/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ where
.map(|poly| {
(
DensePolynomialOrEvaluations::DensePolynomial(poly),
// We do not have any blinder, therefore we set to 1,
// We do not have any blinder, therefore we set to 1,
// since otherwise we might commit to the zero polynomial
// and that would be bad!
PolyComm::new(vec![G::ScalarField::one()]),
Expand Down
5 changes: 4 additions & 1 deletion o1vm/src/pickles/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ fn test_small_circuit() {
let verif =
verify::<Pallas, BaseSponge, ScalarSponge>(domain, &srs, &vec![expr.clone()], &proof);
let instant_after_verification = Instant::now();
debug!("Verification took: {}", (instant_after_verification - instant_before_verification).as_millis());
debug!(
"Verification took: {}",
(instant_after_verification - instant_before_verification).as_millis()
);
assert!(verif, "Verification fails");
}

0 comments on commit 824fd02

Please sign in to comment.