Skip to content

Commit

Permalink
verifier path
Browse files Browse the repository at this point in the history
  • Loading branch information
mattstam committed Feb 13, 2024
1 parent 89e4ed7 commit d6e95b1
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions plonky2x/core/src/backend/function/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,16 +320,16 @@ impl<C: Circuit> Plonky2xFunction for C {

if !args.wrapper_path.is_empty() {
// Construct the command to execute the wrapper_circuit
let child_process = std::process::Command::new(&args.wrapper_path)
.arg("-prove")
.arg("-data")
.arg(path::Path::new(&args.wrapper_path))
.arg("-circuit")
.arg(circuit_path)
.stdout(std::process::Stdio::inherit())
.stderr(std::process::Stdio::inherit())
.spawn()
.expect("Failed to start gnark wrapper process");
let child_process =
std::process::Command::new(path::Path::new(&args.wrapper_path).join("verifier"))
.arg("-prove")
.arg("-data")
.arg(path::Path::new(&args.wrapper_path))
.stdout(std::process::Stdio::inherit())
.stderr(std::process::Stdio::inherit())
.stdin(std::process::Stdio::piped())
.spawn()
.expect("Failed to start gnark wrapper process");

// Wait for the wrapper_circuit process to complete
let output = child_process
Expand Down

0 comments on commit d6e95b1

Please sign in to comment.