This repository has been 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.6k
Grandpa validator set handoff justification #1190
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
0fe90f7
core: make block justification optional
andresilva c9fdc56
runtime: update wasm binaries
andresilva cafa497
core: optionally pass justification on finalize_block
andresilva 1fe5554
finality-grandpa: add channel to trigger authority set changes
andresilva 8489541
finality-grandpa: move finalize_block to free function
andresilva 208f097
finality-grandpa: add GrandpaOracle for auth set liveness checking
andresilva 0c2912e
finality-grandpa: store justification on finalized transition blocks
andresilva b085e2e
finality-grandpa: check justification on authority set change blocks
andresilva fc284f7
finality-grandpa: poll grandpa liveness oracle every 10 seconds
andresilva 4a90ba7
finality-grandpa: spawn grandpa oracle in service setup
andresilva 0afa153
core: support multiple subscriptions per consensus gossip topic
andresilva 4739e32
finality-grandpa: create and verify justifications
andresilva e4d5616
finality-grandpa: update to local branch of grandpa
andresilva f5ce910
finality-grandpa: update to finality-grandpa v0.5.0
andresilva 711208b
finality-grandpa: move grandpa oracle code
andresilva cc46a45
finality-grandpa: fix canonality check
andresilva bac890e
finality-grandpa: clean up error handling
andresilva debd3b6
finality-grandpa: fix canonical_at_height
andresilva 128eee0
finality-grandpa: fix tests
andresilva 252817c
runtime: update wasm binaries
andresilva 33392f5
core: add tests for finalizing block with justification
andresilva 51eb2c5
finality-grandpa: improve validation of justifications
andresilva 4a95dc3
core: remove unused IncompleteJustification block import error
andresilva 101cba6
core: test multiple subscribers for same consensus gossip topic
andresilva a9e659b
Revert "finality-grandpa: improve validation of justifications"
andresilva d708849
finality-grandpa: fix commit validation
andresilva 3ee13e0
Merge branch 'master' into andre/grandpa-handoff-justification
andresilva 3f5732f
finality-grandpa: fix commit ancestry validation
andresilva 1318a79
finality-grandpa: use grandpa v0.5.1
andresilva e5c593c
finality-grandpa: add docs
andresilva 3a501ba
finality-grandpa: fix failing test
andresilva 1e759d3
finality-grandpa: only allow a pending authority set change per fork
andresilva 8c1981f
finality-grandpa: fix validator set transition test
andresilva 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
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
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.
Maybe we should create a type:
enum Finality { Finalized, FinalizedAndJustified(justification), Unfinalized }
.