diff --git a/solidity/test/gas_cost/zeto_anon_enc_nullifier_kyc_cost_analysis.ts b/solidity/test/gas_cost/zeto_anon_enc_nullifier_kyc_cost_analysis.ts index bfc114f..1a7afa9 100644 --- a/solidity/test/gas_cost/zeto_anon_enc_nullifier_kyc_cost_analysis.ts +++ b/solidity/test/gas_cost/zeto_anon_enc_nullifier_kyc_cost_analysis.ts @@ -42,7 +42,7 @@ import { } from '../utils'; import { deployZeto } from '../lib/deploy'; -const TOTAL_AMOUNT = parseInt(process.env.TOTAL_ROUNDS || '20'); +const TOTAL_AMOUNT = parseInt(process.env.TOTAL_ROUNDS || '1000'); const TX_CONCURRENCY = parseInt(process.env.TX_CONCURRENCY || '30'); export interface PreparedTransferData { @@ -55,7 +55,7 @@ export interface PreparedTransferData { encodedProof: any; } -describe.only('(Gas cost analysis) Zeto based fungible token with anonymity using nullifiers and encryption with KYC', function () { +describe.skip('(Gas cost analysis) Zeto based fungible token with anonymity using nullifiers and encryption with KYC', function () { let deployer: Signer; let Alice: User; let Bob: User; @@ -344,6 +344,7 @@ describe.only('(Gas cost analysis) Zeto based fungible token with anonymity usin ); if (prepPromises.length >= 1) { // NOTE: if you are running locally on your laptop, the proof generation will be sequential, tune up this number will just make all concurrent proof gen batch longer + // There is a known "Invalid proof" bug: https://github.com/hyperledger-labs/zeto/issues/80 await Promise.all(prepPromises); prepPromises = []; // Reset promises for the next batch }