Skip to content

Commit 2cfaf7c

Browse files
committed
Remove debug messages
1 parent 7743f9a commit 2cfaf7c

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

spartan_parallel/src/r1csinstance.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,8 +599,6 @@ impl<S: SpartanExtensionField> R1CSEvalProof<S> {
599599
random_tape: &mut RandomTape<S>,
600600
) -> R1CSEvalProof<S> {
601601
let timer = Timer::new("R1CSEvalProof::prove");
602-
println!("RX_LEN: {}, RY_LEN: {}", rx.len(), ry.len());
603-
println!("NUM_CONS: {}, NUM_VARS: {}", decomm.num_cons, decomm.num_vars);
604602
let rx_skip_len = rx.len() - min(rx.len(), decomm.num_cons.log_2());
605603
let rx_header = rx[..rx_skip_len].iter().fold(
606604
S::field_one(), |c, i| c * (S::field_one() - i.clone())

spartan_parallel/src/sparse_mlpoly.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,10 +1154,6 @@ impl<S: SpartanExtensionField> ProductLayerProof<S> {
11541154
eval: &[S],
11551155
transcript: &mut Transcript,
11561156
) -> Result<(Vec<S>, Vec<S>, Vec<S>, Vec<S>, Vec<S>), ProofVerifyError> {
1157-
let proof_mem_len = bincode::serialize(&self.proof_mem).unwrap().len();
1158-
let proof_ops_len = bincode::serialize(&self.proof_ops).unwrap().len();
1159-
println!("PROOF_MEM: {}, PROOF_OPS: {}", proof_mem_len, proof_ops_len);
1160-
11611157
<Transcript as ProofTranscript<S>>::append_protocol_name(
11621158
transcript,
11631159
ProductLayerProof::<S>::protocol_name(),
@@ -1391,10 +1387,6 @@ impl<S: SpartanExtensionField> SparseMatPolyEvalProof<S> {
13911387
transcript: &mut Transcript,
13921388
random_tape: &mut RandomTape<S>,
13931389
) -> SparseMatPolyEvalProof<S> {
1394-
println!("NNZ_LEN: {}", dense.val[0].len());
1395-
println!("RX_LEN: {}", rx.len());
1396-
println!("RY_LEN: {}", ry.len());
1397-
println!("EVALS_LEN: {}", evals.len());
13981390
<Transcript as ProofTranscript<S>>::append_protocol_name(
13991391
transcript,
14001392
SparseMatPolyEvalProof::<S>::protocol_name(),
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
const u32 REPETITION = 131072
1+
const u32 REPETITION = 10000

0 commit comments

Comments
 (0)