Function polkadot_runtime_parachains::paras::pallet::dispatchables::poke_unused_validation_code
source · pub fn poke_unused_validation_code<T: Config>(
validation_code_hash: ValidationCodeHash,
)
Expand description
Remove the validation code from the storage iff the reference count is 0.
This is better than removing the storage directly, because it will not remove the code that was suddenly got used by some parachain while this dispatchable was pending dispatching.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::poke_unused_validation_code
.