pallet_shards::pallet::dispatchables

Function force_shard_offline

Source
pub fn force_shard_offline<T: Config>(shard_id: ShardId)
Expand description

Forces a shard to go offline, used primarily by the root.

§Flow

  1. Ensure the origin is the root.
  2. Call the internal remove_shards_offline function to handle the shard offline process.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::force_shard_offline.