Runtime Versions
RSSThe Subtensor runtime evolves through upgrades that add new features, modify existing functionality, and improve the network. Each version is identified by a spec version number.
Understanding Runtime Versions
What is a runtime? The runtime is the state transition function that defines all blockchain logic - how transactions are processed, how state changes, what calls and events exist.
Why versions matter: When integrating with Subtensor, your code should be aware of which runtime version the chain is running. New versions may add calls you can use, remove deprecated ones, or change event formats.
Forkless upgrades: Substrate-based chains like Subtensor can upgrade their runtime without hard forks. The runtime is stored on-chain as WebAssembly and can be updated via governance.
Version History
130 runtime upgrades tracked. Click any version to see pallet-by-pallet details.
For Developers
Query the current runtime version using:
// Via RPC
const version = await api.rpc.state.getRuntimeVersion();
console.log(version.specVersion.toNumber()); // e.g., 393
// Via polkadot.js
const { specVersion } = await api.consts.system.version; Subscribe to runtime upgrades to handle version changes gracefully in your application.