tornado-contracts/contracts/Classic/Mocks/MerkleTreeWithHistoryMock.sol
2024-03-29 21:52:45 +00:00

13 lines
327 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "../MerkleTreeWithHistory.sol";
contract MerkleTreeWithHistoryMock is MerkleTreeWithHistory {
constructor(uint32 _treeLevels, IHasher _hasher) MerkleTreeWithHistory(_treeLevels, _hasher) {}
function insert(bytes32 _leaf) public {
_insert(_leaf);
}
}