SpecVersionNeedsToIncrease

Error v101 → current 0.1

The new runtime 's spec version is not higher than the current version.

Encountered by: validatorsdevelopers

Why This Error Exists

Runtime versions must only go up, never down. This prevents accidentally downgrading to an older runtime with known bugs or missing features. If you need to 'downgrade', create a new higher version number with the old logic.

From Chain Metadata

The specification version is not allowed to decrease between the current runtime and the new runtime.

What This Means

The new runtime's spec version is not higher than the current version.

Common Causes

  • Trying to deploy an older runtime version
  • Forgetting to increment spec_version in the new runtime
  • Accidentally using a stale build

How to Fix

  • Verify the new runtime has a higher spec_version
  • Build the correct version with incremented version number
  • Use set_code_without_checks only if you absolutely need to bypass this

Storage to Check

Runtime Info

Pallet Index
0
Error Index
1
Error Code
0.1
Runtime Version
v393