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
feat(code): Add the capability to re-run consensus for a given height (#952)
* 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
* Add and handle ResetHeight
* More consistent method names
* Add `is_restart` to `StartedHeight` event
* Use middleware in test app to reset height
* Remove height reset from example app
* Add test for resetting height
* Only reset the height once in test
* Reset sync tip height when restarting a height
* Restore original sync inputs, add `restart` to `StartedHeight`
* Cleanup
* Add a release note
* Add warnings to the adr, tutorial and comments
* Fix spelling
---------
Signed-off-by: Romain Ruetschi <[email protected]>
Co-authored-by: Romain Ruetschi <[email protected]>
0 commit comments