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.
Depending on the runtime's OnSetCode configuration, this function may directly apply
the new code in the same block or attempt to schedule the upgrade.
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.
Depending on the runtime's
OnSetCode
configuration, this function may directly apply the newcode
in the same block or attempt to schedule the upgrade.All origins are allowed.