solidity 7

This commit is contained in:
Alexey 2021-07-07 00:10:18 +03:00
parent 11f376cd61
commit a976b9b383
3 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -3,7 +3,7 @@ require('dotenv').config()
const config = {
solidity: {
version: '0.6.12',
version: '0.7.6',
settings: {
optimizer: {
enabled: true,

View File

@ -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": {