2021-02-11 06:37:18 +01:00
|
|
|
// SPDX-License-Identifier: MIT
|
2021-02-11 07:03:43 +01:00
|
|
|
pragma solidity ^0.6.0;
|
2019-07-10 18:58:21 +02:00
|
|
|
|
2021-02-11 07:23:18 +01:00
|
|
|
import "../MerkleTreeWithHistory.sol";
|
2019-07-10 18:58:21 +02:00
|
|
|
|
|
|
|
contract MerkleTreeWithHistoryMock is MerkleTreeWithHistory {
|
2021-02-11 08:00:53 +01:00
|
|
|
constructor(uint32 _treeLevels, IHasher _hasher) public MerkleTreeWithHistory(_treeLevels, _hasher) {}
|
2019-07-10 18:58:21 +02:00
|
|
|
|
2019-11-04 22:04:22 +01:00
|
|
|
function insert(bytes32 _leaf) public {
|
2021-02-11 07:23:18 +01:00
|
|
|
_insert(_leaf);
|
2019-07-10 18:58:21 +02:00
|
|
|
}
|
|
|
|
}
|