3 Commits

Author SHA1 Message Date
Alexey
4d75035fab remove resolve mock 2021-02-10 20:22:54 +03:00
Alexey
f8c25c30ab bump version 2021-02-10 20:10:57 +03:00
Alexey
9506aa548e remove redundant imports 2021-02-10 20:10:02 +03:00
3 changed files with 2 additions and 9 deletions

View File

@@ -3,13 +3,10 @@
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
import "torn-token/contracts/ENS.sol";
import "./interfaces/ITornadoTreesV1.sol";
import "./interfaces/IVerifier.sol";
import "hardhat/console.sol";
contract TornadoTrees is EnsResolve {
contract TornadoTrees {
address public immutable governance;
bytes32 public depositRoot;
bytes32 public previousDepositRoot;

View File

@@ -18,10 +18,6 @@ contract TornadoTreesMock is TornadoTrees {
SearchParams memory _searchParams
) public TornadoTrees(_governance, _tornadoProxy, _tornadoTreesV1, _treeUpdateVerifier, _searchParams) {}
function resolve(bytes32 _addr) public view override returns (address) {
return address(uint160(uint256(_addr) >> (12 * 8)));
}
function setBlockNumber(uint256 _blockNumber) public {
currentBlock = _blockNumber;
}

View File

@@ -1,6 +1,6 @@
{
"name": "tornado-trees",
"version": "0.0.1",
"version": "0.0.2",
"main": "src/index.js",
"repository": "https://github.com/tornadocash/tornado-trees.git",
"author": "Tornadocash team <hello@tornado.cash>",