Files
pezkuwi-subxt/polkadot/runtime/rococo
Chevdor 4f8048b9c7 New runtime spec_version format + backport of the bump to 1.4.0 (#2468)
## Overview

This PR aligns the `spec_version` formatting to the [recent
changes](https://github.com/polkadot-fellows/runtimes/pull/26/files#diff-efa4caeb17487ecb13d8f5eb7863c3241d84afa2e73fbf25909a2ca89df0f362R142)
made for the Polkadot/Kusama runtimes.

It also backports the latest version `v1.4.0` bumps as `1_004_000`.

## Details

During the switch from `v0.9` to `v1.x`, the format of the
`spec_version` was modified from: `(M)m_ppp` for a runtime considered on
version `M.m.pp`. For instance `0.9.42` had a `spec_version` of `9420`.

With the transition to `v1.x`, the format was changed to a bigger number
(still `u32`) formatted as `MM_mm_ppp` where `1.2.3` would be stored as
`01_02_003`.

This PR aligns the format with that has been introduced in the
fellowship repo: `MMM_mmm_ppp`.

---------

Co-authored-by: Bastian Köcher <git@kchr.de>
2023-11-27 11:16:35 +02:00
..

Rococo: v2.1

Rococo is a testnet runtime with no stability guarantees.

How to build rococo runtime

EpochDurationInBlocks parameter is configurable via ROCOCO_EPOCH_DURATION environment variable. To build wasm runtime blob with customized epoch duration the following command shall be exectuted:

ROCOCO_EPOCH_DURATION=10 ./polkadot/scripts/build-only-wasm.sh rococo-runtime /path/to/output/directory/

How to run rococo-local

The Cumulus Tutorial details building, starting, and testing rococo-local and parachains connecting to it.

How to register a parachain on the Rococo testnet

The parachain registration process on the public Rococo testnet is also outlined.