-
Notifications
You must be signed in to change notification settings - Fork 992
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Remember a fast block proposal: it remains locked even if re-proposed. (
#3140) ## Motivation In the fast round, the validators sign to confirm right away, so the block proposal must count as locked. However, if the same block is re-proposed in a later round, the `proposed` field is overwritten and, due to the different round, is now not considered locked anymore. ## Proposal Keep track of the fast round proposal as part of the `locked` field, too. ## Test Plan The problem was reproduced by extending `test_fast_proposal_is_locked`. ## Release Plan - Nothing to do / These changes follow the usual release cycle. ## Links - Fixes #3134. - [reviewer checklist](https://github.com/linera-io/linera-protocol/blob/main/CONTRIBUTING.md#reviewer-checklist)
Showing
8 changed files
with
292 additions
and
165 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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.