NothingAuthorized

Error v151 → current 0.7

No upgrade has been authorized for application.

Encountered by: validatorsdevelopers

Why This Error Exists

The authorize/apply pattern requires authorization first. This error means you're trying to apply an upgrade without first authorizing the code hash.

From Chain Metadata

No upgrade authorized.

What This Means

No upgrade has been authorized for application.

Common Causes

  • Trying to apply an upgrade before authorizing it
  • Authorization was already used or revoked
  • Governance hasn't approved the upgrade yet

How to Fix

  • First authorize the upgrade using authorize_upgrade
  • Check AuthorizedUpgrade storage to see if authorization exists
  • Wait for governance to authorize the upgrade

Storage to Check

Runtime Info

Pallet Index
0
Error Index
7
Error Code
0.7
Runtime Version
v393