pub fn propose_to_update_provider<T: Config>(
payload: ProviderRegistryEntry<T::MaxProviderNameSize, T::MaxLanguageCodeSize, T::MaxLogoCidSize, T::MaxLocaleCount>,
)
Expand description
Propose to update provider registry via governance
§Arguments
origin
- The origin of the callprovider_key
- The key of the provider to updatepayload
- The new provider data
§Errors
Error::NoKeyExists
- If there is not MSA fororigin
.Error::ProviderNotRegistered
- If the provider is not registered.Error::InvalidCid
- If the provided CID is invalid.Error::InvalidBCP47LanguageCode
- If the provided BCP 47 language code is invalid.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::propose_to_update_provider
.