Unauthorized

Error v151 → current 0.8

The provided code doesn't match the authorized upgrade.

Encountered by: validatorsdevelopers

Why This Error Exists

When applying an authorized upgrade, the code hash must exactly match what was authorized. This prevents deploying different code than what governance approved.

From Chain Metadata

The submitted code is not authorized.

What This Means

The provided code doesn't match the authorized upgrade.

Common Causes

  • Code hash doesn't match what was authorized
  • Wrong runtime binary provided
  • Code was modified after authorization

How to Fix

  • Verify you have the exact code that was authorized
  • Check AuthorizedUpgrade storage for the expected hash
  • Request new authorization if the code has changed

Storage to Check

Runtime Info

Pallet Index
0
Error Index
8
Error Code
0.8
Runtime Version
v393