Skip to content

Commit

Permalink
o1vm/pickles: Add quotient evaluations and absorb them
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzixnerd committed Oct 9, 2024
1 parent 44fc485 commit 21ff649
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions o1vm/src/pickles/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,10 @@ where
let mut fr_sponge = EFrSponge::new(G::sponge_params());
fr_sponge.absorb(&fq_sponge.digest());

// Quotient poly evals
let quotient_zeta_eval = quotient_poly.evaluate(zeta);
let quotient_zeta_omega_eval = quotient_poly.evaluate(zeta_omega);

for (zeta_eval, zeta_omega_eval) in zeta_evaluations
.scratch
.iter()
Expand All @@ -329,6 +333,8 @@ where
fr_sponge.absorb(zeta_eval);
fr_sponge.absorb(zeta_omega_eval);
}
fr_sponge.absorb(&quotient_zeta_eval);
fr_sponge.absorb(&quotient_zeta_omega_eval);

////////////////////////////////////////////////////////////////////////////
// Round 4: Opening proof w/o linearization polynomial
Expand Down

0 comments on commit 21ff649

Please sign in to comment.