Skip to content

Commit

Permalink
Add tuples to test-app example GPC proof
Browse files Browse the repository at this point in the history
  • Loading branch information
robknight committed Sep 16, 2024
1 parent 34922da commit 9390d5d
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions examples/test-app/src/apis/GPC.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,18 @@ const request: PodspecProofRequest = {
isRevealed: true
},
str: { type: "int", inRange: { min: BigInt(5), max: BigInt(1000) } }
}
},
tuples: [
{
entries: ["wis", "str"],
isNotMemberOf: [
[
{ type: "int", value: BigInt(100) },
{ type: "int", value: BigInt(500) }
]
]
}
]
},
pod2: {
entries: {
Expand Down Expand Up @@ -53,7 +64,18 @@ const request: PodspecProofRequest = {
isRevealed: true
},
str: { type: "int", inRange: { min: BigInt(5), max: BigInt(1000) } }
}
},
tuples: [
{
entries: ["wis", "str"],
isNotMemberOf: [
[
{ type: "int", value: BigInt(100) },
{ type: "int", value: BigInt(500) }
]
]
}
]
},
pod2: {
entries: {
Expand Down

0 comments on commit 9390d5d

Please sign in to comment.