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 11b7460 commit bff1f19Copy full SHA for bff1f19
src/lib/proof-system/recursive.ts
@@ -26,6 +26,7 @@ function Recursive<
26
...args: any
27
) => Promise<{ publicOutput: InferProvable<PublicOutputType> }>;
28
};
29
+ maxProofsVerified: () => Promise<0 | 1 | 2>;
30
} & {
31
[Key in keyof PrivateInputs]: (...args: any) => Promise<{
32
proof: Proof<
@@ -94,8 +95,7 @@ function Recursive<
94
95
if (!condition.toBoolean()) {
96
let publicOutput: PublicOutput =
97
ProvableType.synthesize(publicOutputType);
- let maxProofsVerified: 0 | 1 | 2 =
98
- (await zkprogram.maxProofsVerified()) as any; // TODO
+ let maxProofsVerified = await zkprogram.maxProofsVerified();
99
return SelfProof.dummy(
100
publicInput,
101
publicOutput,
0 commit comments