You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(code): Handle multiple commits for same height (#921)
* Add assert for non empty commit certificate
* Let full node store and write votes to WAL
* Round state machine check for previous decision.
Store the proposal round and value in the round state machine.
Remove decided proposal from the consensus state, get it from state machine instead.
Add flag to consensus state to indicate if Effect::Decide was sent to the app.
Cleanup test app.
* Fix mux typo
* Cleanup
* Change test to ensure the syncing node was a proposer at least once.
* Process the commit certificate first
* Panic in test app on multiple commits
* Correct comment
* Increase history for channel app
* Make channel app propose different values when restart from initial height
* Update comments, rename decided to decided_sent
* Check step in commit timeout as after WAL replay we may not be in commit
step.
* Clear all full proposals when moving to the next height
* Fix unused import
* Small reorg
* Cleanup
* Review comments
* Assert certificate is correct
Co-authored-by: Nenad Milosevic <[email protected]>
* Review comments
---------
Signed-off-by: Romain Ruetschi <[email protected]>
Co-authored-by: Romain Ruetschi <[email protected]>
Co-authored-by: Nenad Milosevic <[email protected]>
0 commit comments