diff --git a/README.md b/README.md index b391f28..229dcb0 100644 --- a/README.md +++ b/README.md @@ -24,14 +24,10 @@ $ npx hardhat node --fork --fork- $ npx hardhat test ``` -## Checklist for batch size changing - -find and replace the `CHUNK_TREE_HEIGHT = ` in following files - -1. `circuits/BatchTreeUpdate.circom` -2. `contracts/TornadoTrees.sol` -3. `tornadoTrees.test.js` - ## build large circuits -1. docker build . -t tornadocash/tornado-trees +Make sure you have enough RAM + +```bash +docker build . -t tornadocash/tornado-trees +``` diff --git a/contracts/TornadoTrees.sol b/contracts/TornadoTrees.sol index b83835c..65b2c8e 100644 --- a/contracts/TornadoTrees.sol +++ b/contracts/TornadoTrees.sol @@ -7,6 +7,7 @@ import "./interfaces/ITornadoTreesV1.sol"; import "./interfaces/IBatchTreeUpdateVerifier.sol"; import "@openzeppelin/upgrades-core/contracts/Initializable.sol"; +/// @dev This contract holds a merkle tree of all tornado cash deposit and withdrawal events contract TornadoTrees is Initializable { address public immutable governance; bytes32 public depositRoot; @@ -209,7 +210,7 @@ contract TornadoTrees is Initializable { } /// @dev There is no array length getter for deposit and withdrawal arrays - /// in previous contract, so we have to find them length manually. + /// in the previous contract, so we have to find them length manually. /// Used only during deployment function findArrayLength( ITornadoTreesV1 _tornadoTreesV1,