forked from ChainSafe/gossamer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(lib/grandpa): Include equivocatory nodes while creating justific…
…ation (ChainSafe#1911) * feat: include equivocatory nodes while creating just * chore: remove unecessary error return * chore: undo condition format * chore: use equivocatory votes on threshold count * chore: add unsupported subround error * chore: remove unecessary check * chore: remove eqv votes and use the eqv voters * chore: remove unecessary convertion * chore: export ErrUnsupportedSubround * chore: improve code reading * chore: add tests to grandpa.createJustification func * chore: add tests to grandpa message handler files * chore: fix ci warns * chore: put back a condition to check enough precommits in the justification * chore: check if the equivocatory votes are on justification * chore: fix the fakeAuthorities format * chore: removing parallel and uncoment Err... * chore: adjusting the equivocatory and prevote testing * chore: fix lint warns * chore: address nit comments * chore: adjust test asserts * chore: adjust naming * chore: mock time.Unix in tests * chore: add test to equivocatory voters on to VerifyBlockJustification * chore: adjust testing * chore: check errors * chore: changing the style to checking ok variable * chore: fix conflicts and ignore testing lint warns * chore: check err * chore: fix runtime not found problems * chore: removing unused imports
- Loading branch information
1 parent
facb87a
commit aca86b6
Showing
6 changed files
with
599 additions
and
22 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
Oops, something went wrong.