Skip to content

Runtime Upgrade ​

Where runtime upgrades are released ​

XODE runtime upgrades are published on the xode-blockchain releases page. Each release has notes on what changed, including the runtime's new spec_version, and comes with these files:

FileWhat it is
xode_runtime.compact.compressed.wasmThe compiled runtime that the upgrade puts on chain
xode-nodeNode binary for x86-64
xode-node-aarch64Node binary for ARM64 (aarch64)
polkadot_raw_chain_spec.jsonChain spec for XODE on Polkadot

As of September 2026 the latest release is v0.1.2.14, which raised spec_version to 14. To see which runtime the chain is running, open Polkadot.js Apps connected to XODE: the runtime name and version show at the top left, for example xode-runtime/14.

The rest of this page shows how to try a runtime upgrade on a local test network.

Runtime upgrade simulation using pallet-sudo ​

  1. Download the Xode Binary

x86_64

bash
curl -L "https://github.com/D2-Xode/xode-blockchain/releases/download/v0.1.2.14/xode-node" -o xode-node
  1. Run the node using Zombienet
bash
./zombienet-launch.sh
  1. Create a new terminal

  2. Modify the code (change version)

runtime/src/lib.rs

rust
#[sp_version::runtime_version]
pub const VERSION: RuntimeVersion = RuntimeVersion {
    spec_name: create_runtime_str!("template-parachain"),
    impl_name: create_runtime_str!("template-parachain"),
    authoring_version: 1,
    spec_version: 2, // Modify only this
    impl_version: 0,
    apis: RUNTIME_API_VERSIONS,
    transaction_version: 1,
    state_version: 1,
};
  1. Compile the code
bash
cargo build --release --package xode-node
  1. Locate the wasm files
text
./target/release/wbuild/xode-runtime/xode_runtime.compact.compressed.wasm
  1. Open Polkadot.JS (Zombienet/Parachain). Upload the WASM file using SUDO.

  2. To verify if you have the new runtime version: template-parachain/2

Runtime upgrade simulation using pallet-democracy (OpenGov) ​