Skip to content

Commit

Permalink
read proving key from zkey file
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMenko committed Nov 29, 2023
1 parent dd49c14 commit 56aa7fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ fn create_arkzkey(path: PathBuf) -> Result<PathBuf> {
let ark_zkey_path = path.join("-arkzkey");

let (original_proving_key, original_constraint_matrices) =
ark_zkey::read_proving_key_and_matrices()?;
ark_zkey::read_proving_key_and_matrices_from_zkey(
path.to_str().expect("Failed to convert path."),
)?;

ark_zkey::convert_zkey(
original_proving_key,
Expand Down

0 comments on commit 56aa7fc

Please sign in to comment.