Skip to content

Commit

Permalink
fixed r1cs/wasm path
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanKung committed Jan 30, 2024
1 parent 7fa2386 commit 77586be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/snark/src/tests/native/test_witness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ use crate::r1cs;
pub async fn test_calcu_witness_sha256() -> Result<()> {
type F = <VestaEngine as Engine>::Base;
let r1cs = r1cs::load_r1cs_local::<F>(
"src/tests/circoms/sha256/circom_sha256.r1cs",
"src/tests/native/circoms/sha256/circom_sha256.r1cs",
r1cs::Format::Bin,
)
.unwrap();
assert_eq!(r1cs.num_inputs, 4, "wrong inputs {:?}", r1cs.num_inputs);
let mut witness_calculator = r1cs::load_circom_witness_calculator(r1cs::Path::Local(
"src/tests/circoms/sha256/circom_sha256.wasm".to_string(),
"src/tests/native/circoms/sha256/circom_sha256.wasm".to_string(),
))
.await
.unwrap();
Expand Down

0 comments on commit 77586be

Please sign in to comment.