Skip to content

Commit

Permalink
fix: final extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
Autoparallel committed Oct 20, 2024
1 parent acd2f2c commit 0962990
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions circuits/test/json/nivc/masker_nivc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,11 @@ describe("JsonExtractNIVC", async () => {
const description = generateDescription(input);

it(`(valid) witness: ${desc}`, async () => {
// console.log(JSON.stringify(await circuit.compute(input, ["step_out", "value"])))
console.log(JSON.stringify(await circuit.compute(input, ["step_out", "value"])))
await circuit.expectPass(input, expected);
});
}


generatePassCase({ step_in: nivc_extract_key3.step_out }, {}, "masking json at depth 4");
let value = [34, 84, 97, 121, 108, 111, 114, 32, 83, 119, 105, 102, 116, 34] // `"Taylor Swift"
generatePassCase({ step_in: nivc_extract_key3.step_out }, { value: value }, "masking json at depth 4");
});

0 comments on commit 0962990

Please sign in to comment.