MerkleProof library and initial stubbed out tests
This commit is contained in:
12
test/helpers/MerkleProofMock.sol
Normal file
12
test/helpers/MerkleProofMock.sol
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user