pub fn update_provider_via_governance<T: Config>(
provider_key: T::AccountId,
payload: ProviderRegistryEntry<T::MaxProviderNameSize, T::MaxLanguageCodeSize, T::MaxLogoCidSize, T::MaxLocaleCount>,
)
Expand description
Update a provider by means of governance approval
§Events
§Errors
Error::NoKeyExists
- account does not have an MSAError::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::update_provider_via_governance
.