Use num_checks zetas

The soundness error is (degree of combined constraints)/|F|, so three zetas should be appropriate for all practical circuit sizes.
This commit is contained in:
Daniel Lubarov 2021-05-13 21:32:08 -07:00
parent 18d59ec9de
commit a04bed282d

View File

@ -118,9 +118,7 @@ pub(crate) fn prove<F: Field>(
challenger.observe_hash(&quotient_polys_commitment.merkle_tree.root);
// TODO: How many do we need?
let num_zetas = 2;
let zetas = challenger.get_n_challenges(num_zetas);
let zetas = challenger.get_n_challenges(config.num_checks);
let (opening_proof, openings) = timed!(
ListPolynomialCommitment::batch_open_plonk(