From aac1b4904a323e3d675de197aa11fcd09f3945ba Mon Sep 17 00:00:00 2001 From: lukachi Date: Mon, 18 Mar 2024 11:49:36 +0200 Subject: [PATCH] add refs for inputs generations --- packages/zkp-iden3/src/instances/zkp-gen.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/zkp-iden3/src/instances/zkp-gen.ts b/packages/zkp-iden3/src/instances/zkp-gen.ts index dc0b1c6..d2de5c8 100644 --- a/packages/zkp-iden3/src/instances/zkp-gen.ts +++ b/packages/zkp-iden3/src/instances/zkp-gen.ts @@ -247,6 +247,7 @@ export class ZkpGen { return circuits; } + // https://github.com/iden3/go-circuits/blob/main/credentialAtomicQuerySigV2OnChain.go#L48 generateQuerySigV2OnChainInputs() { if (!this.circuitClaim.signatureProof) { throw new TypeError('circuitClaimData.signatureProof is not defined'); @@ -361,6 +362,7 @@ export class ZkpGen { }); } + // https://github.com/iden3/go-circuits/blob/main/credentialAtomicQuerySigV2.go#L35 generateQuerySigV2Inputs() { if (!this.circuitClaim.signatureProof) { throw new TypeError('circuitClaimData.signatureProof is not defined'); @@ -444,6 +446,7 @@ export class ZkpGen { }); } + // https://github.com/iden3/go-circuits/blob/main/credentialAtomicQueryMTPV2.go#L34 generateQueryMTPV2Inputs() { if (!this.circuitClaim.incProof) { throw new TypeError('circuitClaimData.incProof is not defined'); @@ -511,6 +514,7 @@ export class ZkpGen { }); } + // https://github.com/iden3/go-circuits/blob/main/credentialAtomicQueryMTPV2OnChain.go#L46 generateQueryMTPV2OnChainInputs() { if (!this.circuitClaim.incProof) { throw new TypeError('circuitClaimData.incProof is not defined');