Skip to content

Commit

Permalink
Minor updates to remove debugging logs
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Zhang <[email protected]>
  • Loading branch information
jimthematrix committed Aug 23, 2024
1 parent dfbd1d0 commit 9158c94
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion solidity/test/zeto_anon_enc_nullifier_non_repudiation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ describe("Zeto based fungible token with anonymity using nullifiers and encrypti
expect(balance).to.be.gte(80);
});

describe.skip("failure cases", function () {
describe("failure cases", function () {
// the following failure cases rely on the hardhat network
// to return the details of the errors. This is not possible
// on non-hardhat networks
Expand Down
2 changes: 1 addition & 1 deletion solidity/test/zeto_anon_nullifier_kyc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ describe("Zeto based fungible token with anonymity, KYC, using nullifiers withou
});
});

describe.skip("failure cases", function () {
describe("failure cases", function () {
// the following failure cases rely on the hardhat network
// to return the details of the errors. This is not possible
// on non-hardhat networks
Expand Down
14 changes: 7 additions & 7 deletions zkp/js/integration-test/anon_enc_nullifier_non_repudiation.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,13 @@ describe('main circuit tests for Zeto fungible tokens with encryption fro non-re
console.log('Proving time: ', (Date.now() - startTime) / 1000, 's');

const success = await groth16.verify(verificationKey, publicSignals, proof);
console.log('nullifiers', nullifiers);
console.log('inputCommitments', inputCommitments);
console.log('outputCommitments', outputCommitments);
console.log('root', proof1.root.bigInt());
console.log('encryptionNonce', encryptionNonce);
console.log('authorityPublicKey', Regulator.pubKey);
console.log('publicSignals', publicSignals);
// console.log('nullifiers', nullifiers);
// console.log('inputCommitments', inputCommitments);
// console.log('outputCommitments', outputCommitments);
// console.log('root', proof1.root.bigInt());
// console.log('encryptionNonce', encryptionNonce);
// console.log('authorityPublicKey', Regulator.pubKey);
// console.log('publicSignals', publicSignals);
expect(success, true);
}).timeout(600000);
});

0 comments on commit 9158c94

Please sign in to comment.