pub fn enact_authorized_upgrade<T: Config>(code: Vec<u8>)
Expand description

Provide the preimage (runtime binary) code for an upgrade that has been authorized.

If the authorization required a version check, this call will ensure the spec name remains unchanged and that the spec version has increased.

Note that this function will not apply the new code, but only attempt to schedule the upgrade with the Relay Chain.

All origins are allowed.

Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::enact_authorized_upgrade.