mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-05-08 17:25:04 -04:00
fix tests, ci
This commit is contained in:
parent
346ffcee3c
commit
a359e86f85
13 changed files with 309 additions and 79 deletions
|
@ -3,4 +3,8 @@ pragma solidity ^0.6.0;
|
|||
|
||||
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
|
||||
|
||||
contract ERC20Mock is ERC20("DAIMock", "DAIM") {}
|
||||
contract ERC20Mock is ERC20("DAIMock", "DAIM") {
|
||||
function mint(address account, uint256 amount) public {
|
||||
_mint(account, amount);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@ pragma solidity ^0.6.0;
|
|||
import "../MerkleTreeWithHistory.sol";
|
||||
|
||||
contract MerkleTreeWithHistoryMock is MerkleTreeWithHistory {
|
||||
constructor(uint32 _treeLevels, Hasher _hasher) public MerkleTreeWithHistory(_treeLevels, _hasher) {}
|
||||
constructor(uint32 _treeLevels, IHasher _hasher) public MerkleTreeWithHistory(_treeLevels, _hasher) {}
|
||||
|
||||
function insert(bytes32 _leaf) public {
|
||||
_insert(_leaf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue