MerkleProof library and initial stubbed out tests

This commit is contained in:
Yondon Fu
2017-06-14 16:34:46 -04:00
parent 3fbcb1b282
commit 3c4d0d0a77
3 changed files with 104 additions and 0 deletions

View File

@ -0,0 +1,12 @@
pragma solidity ^0.4.11;
import '../../contracts/MerkleProof.sol';
contract MerkleProofMock {
bool public result;
function verifyProof(bytes _proof, bytes32 _root, bytes32 _leaf) {
result = MerkleProof.verifyProof(_proof, _root, _leaf);
}
}