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 ed4f1c8 commit 21f2b65Copy full SHA for 21f2b65
src/lib/proof-system/verification-key.unit-test.ts
@@ -7,3 +7,6 @@ let cached = VerificationKey.dummySync();
7
8
assert(generated.data === cached.data, 'data equals');
9
assert(generated.hash.equals(cached.hash).toBoolean(), 'hash equals');
10
+
11
+let vkIsValid = await VerificationKey.checkValidity(generated);
12
+assert(vkIsValid, 'verification key is valid');
0 commit comments