pub fn authorize_upgrade<T: Config>(code_hash: T::Hash, check_version: bool)
Expand description

Authorize an upgrade to a given code_hash for the runtime. The runtime can be supplied later.

The check_version parameter sets a boolean flag for whether or not the runtime’s spec version and name should be verified on upgrade. Since the authorization only has a hash, it cannot actually perform the verification.

This call requires Root origin.

Warning: Doc-Only

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