mirror of
https://github.com/tornadocash/tornado-nova
synced 2024-02-02 14:53:56 +01:00
solidity 7
This commit is contained in:
parent
11f376cd61
commit
a976b9b383
@ -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;
|
||||
|
@ -3,7 +3,7 @@ require('dotenv').config()
|
||||
|
||||
const config = {
|
||||
solidity: {
|
||||
version: '0.6.12',
|
||||
version: '0.7.6',
|
||||
settings: {
|
||||
optimizer: {
|
||||
enabled: true,
|
||||
|
@ -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": {
|
||||
|
Loading…
Reference in New Issue
Block a user