Function polkadot_service::revert_backend
source · pub fn revert_backend(
client: Arc<FullClient>,
backend: Arc<FullBackend>,
blocks: BlockNumber,
config: Configuration,
task_handle: SpawnTaskHandle,
) -> Result<(), Error>
Expand description
Reverts the node state down to at most the last finalized block.
In particular this reverts:
ApprovalVotingSubsystem
data in the parachains-db;ChainSelectionSubsystem
data in the parachains-db;- Low level Babe and Grandpa consensus data.