Errors/Chain errors

InvalidSpecName

Check the argument values against the operation schema

View as Markdown

The new runtime's spec_name does not match the current runtime, so set_code refuses the upgrade. Check the RuntimeVersion embedded in the new wasm and ensure the spec name is identical to the chain's current one.

Declared by the System pallet; it classifies to the semantic code invalid_argument.

Remediation

Check the argument values against the operation schema

The same explanation is available in the terminal: btcli explain InvalidSpecName.