Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions wallet-unit-poc/circom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,8 @@
"ts-node": "^10.9.1",
"typescript": "^5.1.3"
},
"resolutions": {
"@zk-email/helpers/snarkjs": "https://github.com/sampritipanda/snarkjs.git#fef81fc51d17a734637555c6edbd585ecda02d9e"
},
"packageManager": "yarn@4.13.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use std::{
};

// Native witness generation via witnesscalc_adapter (disabled for WASM builds)
#[cfg(feature = "native-witness")]
#[cfg(all(feature = "native-witness", has_circuit_base))]
witnesscalc_adapter::witness!(jwt);

#[cfg(all(feature = "native-witness", has_circuit_1k))]
Expand All @@ -35,6 +35,7 @@ pub(crate) fn call_jwt_witness(
inputs_json: &str,
) -> Result<Vec<u8>, SynthesisError> {
let result = match circuit_name {
#[cfg(has_circuit_base)]
"jwt" => jwt_witness(inputs_json),

#[cfg(has_circuit_1k)]
Expand Down
Loading