Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lispc committed Nov 8, 2024
1 parent 7bb2795 commit 1a7da0e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions integration/tests/e2e_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -503,11 +503,10 @@ fn log_batch_pi(trace_paths: &[String]) {
*/

fn dump_chunk_protocol(batch: &BatchProvingTask, output_dir: &str) {
// Dump chunk-procotol to "chunk_chunk_0.protocol" for batch proving.
batch
.chunk_proofs
.first()
.unwrap()
.dump(output_dir, "0")
.unwrap();
// Dump chunk-procotol to "protocol_chunk_{halo2,sp1}.protocol" for batch proving.
let protocol = batch.chunk_proofs.first().unwrap();

protocol.dump(output_dir, "halo2").unwrap();
// adhoc!
protocol.dump(output_dir, "sp1").unwrap();
}

0 comments on commit 1a7da0e

Please sign in to comment.