From 56aa7fcdf087dda8022323d64fb7dd2ddb8ef28a Mon Sep 17 00:00:00 2001 From: TheMenko Date: Wed, 29 Nov 2023 14:22:44 +0100 Subject: [PATCH] read proving key from zkey file --- build.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.rs b/build.rs index fada017..eda45f7 100644 --- a/build.rs +++ b/build.rs @@ -50,7 +50,9 @@ fn create_arkzkey(path: PathBuf) -> Result { 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,