Type Alias polkadot_runtime_parachains::paras::pallet::UpgradeRestrictionSignal
source · pub type UpgradeRestrictionSignal<T: Config> = StorageMap<_GeneratedPrefixForStorageUpgradeRestrictionSignal<T>, Twox64Concat, Id, UpgradeRestriction>;
Expand description
This is used by the relay-chain to communicate that there are restrictions for performing an upgrade for this parachain.
This may be a because the parachain waits for the upgrade cooldown to expire. Another potential use case is when we want to perform some maintenance (such as storage migration) we could restrict upgrades to make the process simpler.
NOTE that this field is used by parachains via merkle storage proofs, therefore changing the format will require migration of parachains.
Storage type is [StorageMap
] with key type ParaId
and value type UpgradeRestriction
.
Aliased Type§
struct UpgradeRestrictionSignal<T: Config>(/* private fields */);