diff --git a/contracts/TornadoPool.sol b/contracts/TornadoPool.sol index 19fa7cc..0968103 100644 --- a/contracts/TornadoPool.sol +++ b/contracts/TornadoPool.sol @@ -10,7 +10,7 @@ * ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo */ -pragma solidity ^0.6.0; +pragma solidity ^0.7.0; pragma experimental ABIEncoderV2; interface IVerifier { @@ -50,7 +50,7 @@ contract TornadoPool { IVerifier _verifier2, IVerifier _verifier16, bytes32 _currentRoot - ) public { + ) { verifier2 = _verifier2; verifier16 = _verifier16; currentRoot = _currentRoot; diff --git a/hardhat.config.js b/hardhat.config.js index e2e5c24..06538dd 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -3,7 +3,7 @@ require('dotenv').config() const config = { solidity: { - version: '0.6.12', + version: '0.7.6', settings: { optimizer: { enabled: true, diff --git a/package.json b/package.json index 1731091..e75482e 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "ffjavascript": "^0.2.36", "fixed-merkle-tree": "^0.5.1", "hardhat": "^2.3.0", - "snarkjs": "git+https://github.com/tornadocash/snarkjs.git#c103e3bf10e95e2e9bbf0f7952ed13812f8e39d3", + "snarkjs": "git+https://github.com/tornadocash/snarkjs.git#616c2d30699f28c8f3ab737b877402ccbb604cfe", "tmp-promise": "^3.0.2" }, "devDependencies": {