Grandpa revert procedure (#11162)

* Grandpa revert procedure

* Trigger ci pipeline

* Test rename

* Update client/finality-grandpa/src/authorities.rs

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
This commit is contained in:
Davide Galassi
2022-04-06 16:23:57 +02:00
committed by GitHub
parent 845e37609b
commit 2bdebbcb00
7 changed files with 224 additions and 12 deletions
+3 -1
View File
@@ -1832,7 +1832,9 @@ where
Ok(BasicQueue::new(verifier, Box::new(block_import), justification_import, spawner, registry))
}
/// Reverts aux data.
/// Reverts protocol aux data to at most the last finalized block.
/// In particular, epoch-changes and block weights announced after the revert
/// point are removed.
pub fn revert<Block, Client, Backend>(
client: Arc<Client>,
backend: Arc<Backend>,