This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Statemine v504 (Polkadot v0.9.11)
This release upgrades Statemine and Westmint to Polkadot v0.9.11 and introduces transaction payment in assets.
❗️Important Changes
- 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: paritytech/substrate#8615
- Make Parachain sync protocol future proof: #640
- Fix
state_subscribeRuntimeVersion
for Parachains: paritytech/substrate#9617 - Improve performance for Parachains when building blocks: paritytech/substrate#9611
-
- Transaction priority calculation was changed to be based on the tip to weight/length ratio (#645)
- see paritytech/substrate#9834 for details
- Add Transaction Fee RPC to Statemint/Statemine (#559)
- Note that this does not support asset transaction fees, yet.
- Support for Reserve Asset Transfers via XCM (#552)
- Support for XCM v2 (#571) (see paritytech/polkadot#3629 for details)
Other Notes
- The
spec_version
convention was changed from single digits to hundreds (so v5 isspec_version
5xx
now) - The
spec_version
5 runtime live at time of release is the hotpatch to runtime version 4 (you could think of it as401
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
- 0e01e63: adjust Statemint to the three digit spec_version format
- ae23b3d: select parachains-common/std feature when building rococo-runtime with std
- 4a704cc: remove unnecessary dep on node-primitives
- f2941c6: disallow XCM execute on statemint
- d4a202a: set spec_versions to 500
- f8e5ece: bump polkadot-collator version
- cf04b27: remove ScrapedOnChainVotes
- 0f320d8: remove on_chain_votes function in ParachainHost impl
- eebadf0: adjust on_disabled type
- 9a28018: add DisabledValidatorsThreshold to mock config
- 9e9c759: add DisabledValidatorsThreshold to statemint runtimes
- 79809c1: add DisabledValidatorsThreshold to parachain template
- 7360a62: set substrate deps for pallet-asset-tx-payment
- 3520acc: Asset Transaction Payment (#488)
- eff56f6: Upstream Statemine v4 Changes (#649)
- f499617: update Substrate and Polkadot (to include new transaction priority) (#645)
- caa8b81: Statemint Reserve Asset Transfer (#552)
- edd029b: Add
relay_parent
to block announce data (#640) - 9bfec25: make asset creation on westmint low cost (#642)
- a9a09ab: docs - make collators actually work (#638)
- 0fad3ae: Same procedure as not every day (#636)
- 36d18c0: Remove a where bound that isn't required anymore (#633)
- 1a6491b: Add extrincic ordering check to CI (#629)
- 0b921dd: Fix purge-chain test (#624)
- b75f18e: chore - bump subwasm version to support V14 runtimes (#623)
- 391d2f5: Add Parachain Template (#620)
- 1aab334: Use DecodeLimit for decoding XCM messages (#605)
- 1dd000a: ci - add quick-check with rustfmt (#615)
- 035a576: Metadata v14 (companion to #3336) (#564)
- d5284b0: add new raw chainspecs for parachains (#611)
- df28466: Remove
rococo-v1
branch from README (#608) - 5ed9e95: Bump Substrate, Polkadot, and BEEFY (#602)
- 6c8f1f7: bump deps, fix aura-ext pallet, and fill in stubs for XCM (#600)
- bf4024f: Add script and dockerfile to build an injected docker image for the polkadot-collator binary (#591)
- 968c91e: Bump Tokio to 1.10 (#592)
- 276e5bd: Companion for #3629 (XCM v2) (#571)
- f2f4f64: Fix Statemint benchmarks (#589)
- 52bc169: Upgrade Substrate & Polkadot (#583)
- 333cfdf: Add Transaction Fee RPC to Statemint/Statemine (#559)
- db125d2: remove lightSyncState field from chain specs (#576)
- f0ecc74: Remove old and add new migrations (#572)
- 906bf97: Use new MultiLocation syntax everywhere (#570)
- b3c38f0: Companion to #9514 (Remove Filter and use Contains instead) (#566)
- 6283c1f: Support XCM v1 (Companion to #2815) (#561)
- 6c6d7a0: patch weight for batch_all from rerun
- 0793aa8: Ensure a bad datastream cannot cause problems (#701)