Skip to content

Commit

Permalink
fix: local prover (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani authored Jan 10, 2024
1 parent 542a453 commit cc230cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion client/src/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ impl SuccinctClient {
}

pub fn run_local_prover_docker_image(
wrapper_binary: &str,
prove_binary_dir: &str,
prove_file_name: &str,
input_file: &str,
Expand All @@ -81,7 +82,7 @@ impl SuccinctClient {
let mount_proofs_dir = format!("{}/proofs:/proofs", current_dir_str);
let mount_prove_binary_dir = format!("{}/{}:/build", current_dir_str, prove_binary_dir);
let mount_verifier_build_dir =
format!("{}/verifier-build:/verifier-build", current_dir_str);
format!("{}/{}:/verifier-build", current_dir_str, wrapper_binary);
let mount_env_file = format!("{}/.env:/.env", current_dir_str);

let prove = Command::new("docker")
Expand Down Expand Up @@ -170,6 +171,7 @@ impl SuccinctClient {

// Run the docker image
Self::run_local_prover_docker_image(
&wrapper_binary,
prove_binary_dir.to_str().unwrap(),
prove_file_name.to_str().unwrap(),
&input_file,
Expand Down

0 comments on commit cc230cf

Please sign in to comment.