-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: robust multivalidator period handling (#379)
* chore: warn if period height data is missing, we gonna miss period data in the db in this case chore: move periodVotes out of consensus Make validators store collected periodVotes in a bridgeState object directly, not in a bridgeState.currentState. The latter represents a consensus state, something the nodes should agree upon. Collected period votes have nothing to do with a consensus and only needed for proposing validator to submit a period. refactored period submission logic store stalePeriodProposal in db as well * improve coverage and fix some tests
- Loading branch information
Showing
34 changed files
with
1,352 additions
and
977 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 was deleted.
Oops, something went wrong.
Oops, something went wrong.