referrerpolicy=no-referrer-when-downgrade

Function frame_system::pallet::dispatchables::kill_prefix

source ·
pub fn kill_prefix<T: Config>(prefix: Key, subkeys: u32)
Expand description

Kill all storage items with a key that starts with the given prefix.

NOTE: We rely on the Root origin to provide us the number of subkeys under the prefix we are removing to accurately calculate the weight of this function.

§Warning: Doc-Only

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