-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A0-3097: Degenerify block hashes (#1373)
# Description We were theoretically parametrized by the block hash type, but in practice some parts of `finality-aleph` already fixed it based on `primitives`. This PR succumbs to that reality, thus simplifying quite a couple parametrizations here and there. The next step might be to use `BlockId` even more directly deeper (e.g. in `sync`), thus eliminating one more trait and lowering probably unnecessary parametrizations. Also rename Metrics to BlockMetrics, since that was tiny in addition. ## Type of change Refactor. # Checklist: Co-authored-by: timorl <[email protected]>
- Loading branch information
Showing
30 changed files
with
506 additions
and
689 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
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
Oops, something went wrong.