Skip to content

Commit

Permalink
Do not use randomness on ProverProof::create_recursive
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiencs committed Sep 26, 2023
1 parent debf150 commit f0b6f1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kimchi/src/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,9 @@ where
let (_, endo_r) = G::endos();

// TODO: rng should be passed as arg
let rng = &mut rand::rngs::OsRng;
// let rng = &mut rand::rngs::OsRng;
let mut rng: rand::rngs::StdRng = rand::SeedableRng::seed_from_u64(0);
let rng = &mut rng;

// Verify the circuit satisfiability by the computed witness (baring plookup constraints)
// Catch mistakes before proof generation.
Expand Down

0 comments on commit f0b6f1f

Please sign in to comment.