This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Fix BABE epochs-transition logic on the core side #3620
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
d95c733
begin accounting for next epoch in epoch function
rphmeier aa429f5
slots passes header to epoch_data
rphmeier 73d9221
pass slot_number to SlotWorker::epoch_data
rphmeier 4269d9d
begin extracting epoch-change logic into its own module
rphmeier 4289869
aux methods for block weight
rphmeier abf57ca
aux methods for genesis configuration
rphmeier 2173879
comment-out most, refactor header-check pipeline
rphmeier 5c321ef
mostly flesh out verifier again
rphmeier 81aaab7
reinstantiate babe BlockImport implementation
rphmeier f22846a
reinstate import-queue instantiation
rphmeier bb0ef7b
reintroduce slot-worker implementation
rphmeier 4b74154
reinstate pretty much all the rest
rphmeier b6dba9a
move fork-choice logic to BlockImport
rphmeier 35e3c89
fix some, but not all errors
rphmeier e7d7545
patch test-runtime
rphmeier 9f1cbe7
make is_descendent of slightly more generic
rphmeier c6c46a5
get skeleton compiling when passing is_descendent_of
rphmeier ad87669
make descendent-of-builder more succinct
rphmeier 0d8d5b2
restore ordering of authority_index / slot_number
rphmeier 1a4f223
start fiddling with tests
rphmeier 3a655d8
fix warnings
rphmeier 144fb6f
improve initialization architecture and handle genesis
rphmeier 1cfbde0
tests use correct block-import
rphmeier 9454ea1
fix BABE tests
rphmeier 6d8a151
fix some compiler errors
rphmeier 975afdd
fix node-cli compilation
rphmeier 582f558
all crates compile
rphmeier b147ebe
bump runtime versions and fix some warnings
rphmeier d8ffc2d
tweak fork-tree search implementation
rphmeier aa37321
do backtracking search in fork-tree
rphmeier 20ec772
node-cli integration tests now work
rphmeier e13983a
fix broken assumption in test_connectivity
rphmeier File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.