This release upgrades Statemine and Westmint to Polkadot v0.9.11 and introduces transaction payment in assets.
Upgrade Priority: ❗️HIGH❗️
Due to the new runtime version only being compatible with the current binary release.
⚠️ This is a pre-release.
❗️Important Changes
- New digest item
RuntimeEnvironmentUpdated
: https://github.com/paritytech/substrate/pull/9580
- THIS REQUIRES THAT ALL NODES ARE UPDATED BEFORE A RUNTIME UPGRADE IS APPLIED THAT INCLUDED THIS CHANGE
- THIS REQUIRES THAT ALL NODES ARE UPDATED BEFORE A RUNTIME UPGRADE IS APPLIED THAT INCLUDED THIS CHANGE
- Support for Asset Transaction Payment (#488)
- This changes the transaction format by swapping out a
SignedExtension
which leads to atransaction_version
bump to 3.
- This changes the transaction format by swapping out a
Notable Changes
- Metadata v14: https://github.com/paritytech/substrate/pull/8615
- Make Parachain sync protocol future proof: https://github.com/paritytech/cumulus/pull/640
- Fix
state_subscribeRuntimeVersion
for Parachains: https://github.com/paritytech/substrate/pull/9617
- Improve performance for Parachains when building blocks: https://github.com/paritytech/substrate/pull/9611
- * Transaction priority calculation was changed to be based on the tip to weight/length ratio (#645)
- see https://github.com/paritytech/substrate/pull/9834 for details
- see https://github.com/paritytech/substrate/pull/9834 for details
- Add Transaction Fee RPC to Statemint/Statemine (#559)
- Note that this does not support asset transaction fees, yet.
- Note that this does not support asset transaction fees, yet.
- Support for Reserve Asset Transfers via XCM (#552)
- Support for XCM v2 (#571) (see https://github.com/paritytech/polkadot/pull/3629 for details)
Other Notes
- The
spec_version
convention was changed from single digits to hundreds (so v5 isspec_version
500 now)
- The
spec_version
5 runtime live at time of release is the hotpatch to runtime version 4 (you could think of it as 401 in the new format).
Runtimes:
The following can be checked using subwasm and subwasm info <runtime.wasm>
.
Statemine:
🏋️ Runtime size: 0.635 MB (665,883 bytes) 🗜 Compressed: Yes, 76.89% 🎁 Metadata version: V14 🔥 Core version: statemine-504 (statemine-0.tx3.au1) 🗳️ authorizeUpgrade hash: 0xc1f7c5a4dc86d6084f3d9585a85a9d94dcce9b16f25b5f9ebfaa8076dc240652 #️⃣ Blake2-256 hash: 0x671aa5730f5f72e4b17a9fcb4ff7dbfa006f68e01f280873eeedaaea9d325636
Westmint:
🏋️ Runtime size: 0.629 MB (659,479 bytes) 🗜 Compressed: Yes, 76.81% 🎁 Metadata version: V14 🔥 Core version: westmint-504 (westmint-0.tx3.au1) 🗳️ authorizeUpgrade hash: 0x9ff3edf1398b1d4e89d44beabc8560bed01c3ed4e49dd705ac6360e179bd0856 #️⃣ Blake2-256 hash: 0xce8150763e796befba9f8411a8a26a430de3c85165831ca237894b2e07fa9f05
This release was tested against the following versions of rustc
. Other versions may work.
- rustc
1.55.0 (c8dfcfe04 2021-09-06)
NOTE: The WASM runtimes built with srtool using rustc 1.53.0 (53cb7b09b 2021-06-17)
.
Changes since statemine_v4
relay_parent
to block announce data (#640)
rococo-v1
branch from README (#608)