pub fn propose_to_update_application<T: Config>(
application_index: ApplicationIndex,
payload: ApplicationContext<T::MaxProviderNameSize, T::MaxLanguageCodeSize, T::MaxLogoCidSize, T::MaxLocaleCount>,
)
Expand description
Propose to update application via governance for a given ApplicationIndex
§Arguments
origin
- The origin of the callapplication_index
- The index of the application to updatepayload
- The new application data
§Errors
Error::NoKeyExists
- If there is not MSA fororigin
.Error::ApplicationNotFound
- If the application is not registered.Error::InvalidCid
- If the provided CID is invalid.Error::InvalidBCP47LanguageCode
- If the provided BCP 47 language code is invalid.Error::ApplicationNotFound
- If the application is not registered.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::propose_to_update_application
.