specVersion

The numeric version of the live runtime specification.

In plain language

Nodes and tools use specVersion to identify the active runtime interface and behavior version.

Why it matters

A change at the referendum execution block verifies that a runtime upgrade actually took effect.

Real Vara examples

ReferendumGovernanceExecutionDirect addresses
#3 Vara runtime upgrade: spec 340 to 350 (v0.3.5)

This referendum upgraded Vara's on-chain runtime from spec version 340 to 350, corresponding to Gear v0.3.5.

ExecutedDispatch succeeded15
#53 Upgrade the Vara runtime from spec 1710 to 1810

This referendum upgraded the live Vara runtime from specification version 1710 to 1810.

ExecutedDispatch succeeded15

Related terms

Runtime · Runtime upgrade · Block