forked from darwinia-network/darwinia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support MMR digest in block header (darwinia-network#358)
* move mmr digest from sytem to darwinia pallet * fix compile * using tuple instead of vec * update the map hasher * add positions for leaves and prepare for later get_proof and verify functions * add docs and add get proof function * add tests and refactor codes * update substrate dep and add header-mmr tests in travis * fix format issue * travis says can not parse, try again * update decl error, and keep using panic when encoutering error in on_finalize, related to #384 * remove miss typing \ which should be used in <pre> code
- Loading branch information
1 parent
42c8624
commit 00da07d
Showing
29 changed files
with
898 additions
and
460 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ readonly TEST_CRATES=( | |
'treasury' | ||
'eth-relay' | ||
'eth-backing' | ||
'header-mmr' | ||
); | ||
|
||
function main() { | ||
|
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
Oops, something went wrong.