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 464f170 commit 5f16af4Copy full SHA for 5f16af4
src/lib/proof-system/zkprogram.ts
@@ -268,14 +268,8 @@ function ZkProgram<Config extends ConfigBaseType>(
268
InferProvableOrUndefined<InferAuxiliaryOutputs<Config>[I]>
269
>;
270
} {
271
- type Methods = {
272
- [I in keyof Config['methods']]: Method<
273
- InferProvableOrUndefined<Get<Config, 'publicInput'>>,
274
- InferProvableOrVoid<Get<Config, 'publicOutput'>>,
275
- Config['methods'][I]
276
- >;
277
- };
278
// derived types for convenience
+ type Methods = InferMethodSignatures<Config>;
279
type PrivateInputs = InferPrivateInput<Config>
280
type AuxiliaryOutputs = InferAuxiliaryOutputs<Config>;
281
0 commit comments