Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kunxian-xia committed Sep 18, 2024
1 parent 4936d54 commit a926c07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 3 additions & 1 deletion ceno_zkvm/src/circuit_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ impl<E: ExtensionField> ConstraintSystem<E> {
let fixed_commit_wd = fixed_traces
.as_ref()
.map(|traces| PCS::batch_commit(pp, traces).unwrap());
let fixed_commit = fixed_commit_wd.as_ref().map(|commit_wd| PCS::get_pure_commitment(commit_wd));
let fixed_commit = fixed_commit_wd
.as_ref()
.map(|commit_wd| PCS::get_pure_commitment(commit_wd));

ProvingKey {
fixed_traces,
Expand Down
6 changes: 1 addition & 5 deletions ceno_zkvm/src/scheme/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,7 @@ fn test_rw_lk_expression_combination() {
let verifier = ZKVMVerifier::new(vk.clone());
let mut v_transcript = Transcript::new(b"test");
// write commitment into transcript and derive challenges from it
Pcs::write_commitment(
&proof.wits_commit,
&mut v_transcript,
)
.unwrap();
Pcs::write_commitment(&proof.wits_commit, &mut v_transcript).unwrap();
let challenges = [
transcript.read_challenge().elements,
transcript.read_challenge().elements,
Expand Down

0 comments on commit a926c07

Please sign in to comment.