You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/lib/proof-system/zkprogram.ts
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -101,6 +101,7 @@ function createProgramState() {
101
101
/**
102
102
* Initializes Pickles bindings, serializes the input proof and verification key for use in OCaml, then calls into the Pickles verify function and returns the result.
103
103
*
104
+
* @note This function is meant to be called in JavaScript, not for use in a circuit. The verification key data and hash are not confirmed to match.
104
105
* @param proof Either a `Proof` instance or a serialized JSON proof
105
106
* @param verificationKey Either a base64 serialized verification key or a `VerificationKey` instance which will be base64 serialized for use in the bindings.
106
107
* @returns A promise that resolves to a boolean indicating whether the proof is valid.
0 commit comments