Skip to content

Commit

Permalink
prover state should include full randomness
Browse files Browse the repository at this point in the history
for "better used as a part of a larger protocol." as the docs say
  • Loading branch information
mmagician committed Jan 26, 2024
1 parent 93073ed commit dea70b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ml_sumcheck/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ impl<F: Field> MLSumcheck<F> {
prover_msgs.push(prover_msg);
verifier_msg = Some(IPForMLSumcheck::sample_round(fs_rng));
}
prover_state
.randomness
.push(verifier_msg.unwrap().randomness);

Ok((prover_msgs, prover_state))
}
Expand Down

0 comments on commit dea70b7

Please sign in to comment.