Function frame_system::pallet::dispatchables::authorize_upgrade
source · pub fn authorize_upgrade<T: Config>(code_hash: T::Hash)
Expand description
Authorize an upgrade to a given code_hash
for the runtime. The runtime can be supplied
later.
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
.