Function sc_finality_grandpa::revert
source · pub fn revert<Block, Client>(
client: Arc<Client>,
blocks: NumberFor<Block>
) -> ClientResult<()>where
Block: BlockT,
Client: AuxStore + HeaderMetadata<Block, Error = ClientError> + HeaderBackend<Block>,
Expand description
Reverts protocol aux data to at most the last finalized block. In particular, standard and forced authority set changes announced after the revert point are removed.