Grandpa: save all completed prior rounds (#4203)

* Save concluded rounds.

* Doc nit

* Fix cargo
This commit is contained in:
Marcio Diaz
2019-11-29 18:54:07 +01:00
committed by Gavin Wood
parent 6639e9b254
commit 1ceebb5c3a
2 changed files with 39 additions and 0 deletions
@@ -865,6 +865,7 @@ where
historical_votes.seen().iter().skip(n_existing_votes).cloned()
);
already_completed.state = state;
crate::aux_schema::write_concluded_round(&*self.client, &already_completed);
}
let set_state = VoterSetState::<Block>::Live {