-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(lib/grandpa): fully verify justifications using GrandpaState #1544
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
698cffa
pull changes
noot 03651b8
add primary proposal sending
noot 7a0f9b9
lint
noot 9b3ae8e
fix decoding CommitMessage error
noot 0cced87
readd code
noot 45e67c6
create GrandpaState for managing authorities
noot 0687988
begin updating DigestHandler to use GrandpaState
noot d81b5eb
fix some tests
noot 864e231
merge w development
noot 98cafe9
add go.mod
noot 3f4310c
Merge branch 'development' of github.com:ChainSafe/gossamer into noot…
noot 115faa5
Merge branch 'development' of github.com:ChainSafe/gossamer into noot…
noot 0a1f6a5
move grandpa.Voter to types.GrandpaVoter
noot 45d16fe
Merge branch 'noot/update-grandpa-messages' of github.com:ChainSafe/g…
noot 04ebee8
update DigestHandler to set grandpaState
noot 81b1886
fix tests, update DigestHandler
noot f6ef369
remove grandpa interface from core; update grandpa.Service to get nex…
noot 7a90491
fix grandpa tests
noot 4c96abf
cleanup, add tests
noot 6ede432
cleanup
noot b96fd85
add grandpa pause, resume functionality
noot af5aa2e
merge w development
noot 017222d
fix deepsource issue
noot 71b4123
address comments
noot 3d3f054
lint
noot 36cab95
add setID check in grandpa.Service.VerifyBlockJustification
noot db71a6e
update VerifyBlockJustification test
noot 04008fe
lint
noot d86ee26
add >=2/3 signature check in justification verify
noot d64e315
fix test
noot 22e74e4
fix GetSetIDByBlockNumber, now gets setID properly
noot ec6ae69
fix GetSetIDByBlockNumber, verification over set ID changes working
noot d99da7b
lint
noot 4519670
fix test
noot 1308361
add more test cases
noot 493d491
merge w development
noot 710b8d3
fix deepsource issue
noot 3084547
merge w development
noot 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 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
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
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.
😂