Skip to content

Commit

Permalink
fix onchain
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyr-basiuk committed Feb 23, 2024
1 parent ef8e494 commit a83b3d2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion circuits/linkedMultiQuery10.circom
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ pragma circom 2.1.1;

include "linked/multiQuery.circom";

component main {public [valueArraySize]} = LinkedMultiQuery(10, 32, 64); // 164791 constraints
component main {public [valueArraySize]} = LinkedMultiQuery(10, 32, 64); // 175331 constraints
1 change: 0 additions & 1 deletion circuits/onchain/credentialAtomicQueryV3OnChain.circom
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,6 @@ template credentialAtomicQueryV3OnChain(issuerLevels, claimLevels, maxValueArray
slotIndex,
operator,
claimPathKey,
claimPathNotExists,
valueArraySize,
merklized,
verifierID,
Expand Down
2 changes: 1 addition & 1 deletion test/onchain/credentialAtomicQueryV3OnChain.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {describe} from "mocha";
const path = require("path");
const wasmTester = require("circom_tester").wasm;

describe("Test credentialAtomicQueryV3OnChain.circom", function () {
describe.only("Test credentialAtomicQueryV3OnChain.circom", function () {

this.timeout(600000);

Expand Down
4 changes: 2 additions & 2 deletions testvectorgen/credentials/onchain/v3/v3_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -769,11 +769,11 @@ func generateJSONLD_NON_INCLUSION_TestData(t *testing.T, isUserIDProfile, isSubj
ClaimPathValue: "0", // value in this path in merklized json-ld document
// value in this path in merklized json-ld document

Operator: utils.NOT_EXISTS,
Operator: utils.EXISTS,
SlotIndex: 0,
Timestamp: timestamp,
IsRevocationChecked: 1,
Value: utils.PrepareStrArray([]string{}, 64),
Value: utils.PrepareStrArray([]string{"0"}, 64),
ValueArraySize: valueArraySize,

// additional mtp inputs
Expand Down

0 comments on commit a83b3d2

Please sign in to comment.