We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fdeeea commit 969dd83Copy full SHA for 969dd83
how-to/recursive-proofs/main.ts
@@ -71,6 +71,10 @@ async function start() {
71
({ witness, returnValue } = await recurseLeaf.noir.execute(nodeParams));
72
console.log("recurseLeaf: %d + %d = ", a, b, Number(returnValue).toString());
73
const innerProof2: ProofData = await recurseLeaf.backend.generateProof(witness);
74
+ console.log("Verifying intermediate proof recurseLeaf...");
75
+ const res: boolean = await recurseLeaf.backend.verifyProof(innerProof2);
76
+ console.log("Verification", res ? "PASSED" : "failed");
77
+
78
console.log("Generating intermediate proof artifacts recurseLeaf...");
79
const artifacts2 = await recurseLeaf.backend.generateRecursiveProofArtifacts(
80
innerProof2,
0 commit comments