Skip to content

Commit

Permalink
Tiny changelog change and circuit test threads tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
dvush committed Feb 25, 2021
1 parent 57932d7 commit 39922e3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions changelog/contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to the contracts will be documented in this file.

## 2021-25-02

**Version 5** is scheduled for upgrade.

### Added

- `tokenGovernance` address is added to the `Governance` contract. `tokenGovernance` can list new tokens.
Expand Down
7 changes: 6 additions & 1 deletion infrastructure/zk/src/test/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,12 @@ export async function rust() {
await db(true);
await rustApi(true);
await prover();
await circuit(2);
const { stdout: threads } = await utils.exec('nproc');
let circuitTestsThreads = Math.trunc(parseInt(threads) / 4); // if we use all CPUs tests can consume all RAM
if (circuitTestsThreads < 3) {
circuitTestsThreads = 3;
}
await circuit(circuitTestsThreads);
await rustCryptoTests();
}

Expand Down

0 comments on commit 39922e3

Please sign in to comment.