-
Notifications
You must be signed in to change notification settings - Fork 669
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(epoch-sync): calculate legacy epoch_sync_data_hash from EpochSyn…
…cInfo (#10120) First part of #10031 Adding support for `EpochInfo` validation through `epoch_sync_data_hash` in new epoch sync. Included in PR: - reconstruction of `BlockInfo` headers - calculation of `epoch_sync_data_hash` from `EpochSyncInfo` - bad attempt at good errors in all of that - test for both `BlockInfo` and `epoch_sync_data_hash` reconstruction Coming next: epoch sync testing tool, specifically command to test that reconstructed `epoch_sync_data_hash` matches recorded `epoch_sync_data_hash` on all real data in testnet/mainnet.
- Loading branch information
1 parent
76a8e59
commit d8ada79
Showing
6 changed files
with
196 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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