Skip to content

Commit

Permalink
issue/140: add a redundant check of the preprocessed commitment (for …
Browse files Browse the repository at this point in the history
…more helpful errors when this happens)
  • Loading branch information
morganthomas committed Apr 14, 2024
1 parent c1a47a0 commit 6dc4511
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions basic/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,7 @@ impl<F: PrimeField32 + TwoAdicField> Machine<F> for BasicMachine<F> {
let (preprocessed_commit, preprocessed_data) =
tracing::info_span!("commit to preprocessed traces")
.in_scope(|| pcs.commit_batches(preprocessed_traces.to_vec()));
assert_eq!(preprocessed_commit, proof.commitments.preprocessed_trace);

challenger.observe(preprocessed_commit.clone());

Expand Down

0 comments on commit 6dc4511

Please sign in to comment.