-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate constructor logic of Bridge into an
initialize
function (#405)
* Add witness verification on Bridge * Use segwit txn as test data in Bridge contract test * Change deposit parameters to a struct in Bridge * Change L1BlockHashList address in Bridge * Remove block header from Bridge contract * Fix witness utils bugs * Witness inclusion in Bridge * Further tests for Bridge * Rename signature count in Bridge * Change Bridge's storage structure to have `owner` in first storage slot * Rearrange variables in storage on Bridge * Migrate constructor logic to `initialize` in Bridge * Fix merging errors * Add revert on reinitialize test case * Add natspec to `initialize` * Remove constructor from Bridge * Remove already initialized check in deposit * Remove constructor from Bridge harness * Revert "Remove constructor from Bridge harness" This reverts commit ee6e051. * Revert "Remove already initialized check in deposit" This reverts commit 8fc0940. * Remove constructor from Bridge harness in test * Remove already initialized check from `deposit` * Remove duplicate imports
- Loading branch information
1 parent
d80045e
commit 9743c79
Showing
3 changed files
with
37 additions
and
19 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 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