-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.) Deposits entirely represented on the rootchain and exited/finalized separately from transactions 2.) Removed BytesUtil 3.) txBytes include deposit nonce 4.) Confirm signatures are presents and tests provide good coverage. More will be added to cover require branches. 5.) General refactors in the contract and libraries fixes #57 fixes #36
- Loading branch information
1 parent
42867f7
commit b000573
Showing
22 changed files
with
3,839 additions
and
9,078 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
pragma solidity ^0.4.24; | ||
|
||
import "./PriorityQueue.sol"; | ||
|
||
// Purpose of this contract is to forward calls to the library for testing | ||
contract PriorityQueue_Test { | ||
using PriorityQueue for uint256[]; | ||
|
||
uint256[] heapList = [0]; | ||
|
||
function insert(uint256 k) public { heapList.insert(k); } | ||
function getMin() public view returns (uint256) { return heapList.getMin(); } | ||
function delMin() public { heapList.delMin(); } | ||
function currentSize() public view returns (uint256) { return heapList.currentSize(); } | ||
} |
Oops, something went wrong.