referrerpolicy=no-referrer-when-downgrade

Function sc_service::chain_ops::revert_chain

source ·
pub fn revert_chain<B, BA, C>(
    client: Arc<C>,
    backend: Arc<BA>,
    blocks: NumberFor<B>,
) -> Result<(), Error>
where B: BlockT, C: UsageProvider<B>, BA: Backend<B>,
Expand description

Performs a revert of blocks blocks.