Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Statemint v6.0.1 (for Polkadot 0.9.12)

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Dec 15:59
· 1 commit to release-statemint-v6.0.1 since this release
4292ce5

Initial release of the Statemint runtime that Shell will be upgraded to.

This release contains the changes from statemine-v5.0.0 to release-statemint-v6.0.1.

Client Upgrade Priority

‼️ HIGH: This is a high priority release and you must upgrade as as soon as possible.
You will need this collator (or another v5.1.0, i.e. from the Statemine 6.0.1 release) to be able to sync Statemint.
(Run polkadot-collator --chain statemint with this binary or polkadot-collator --chain statemint.json with the Statemine 6.0.1 binary and the released Statemint chain spec.)

ℹ️ The polkadot-collator binary has been built with optimizations.

Release Notes

Teleports and Asset Creation

The Statemint runtime will start out with

These features will be rolled out gradually with future runtime upgrades.

Artifacts

  • statemint.json is the chain spec you can use to sync the Statemint chain.
  • statemint_runtime-v601.compact.compressed.wasm is the runtime wasm that Shell will be upgraded to.
  • statemint_genesis_values.scale is an encoded system.set_storage call that will be executed on Shell to seed the storage with the genesis values for Statemint.
    • You can verify this by running in a checkout of the release tag (which should create the same files as commited; note that there is some non-determinism for the generated statemint_genesis.json which does not affect statemint_genesis_values.scale):
polkadot-collator build-spec --chain statemint-genesis --raw > polkadot-parachains/res/statemint_genesis.json
./scripts/generate_genesis_value.sh statemint_genesis

Rust compiler versions

This release was tested against the following versions of rustc. Other versions may work.

  • Rust Stable: rustc 1.56.1 (59eed8a2a 2021-11-01)
  • Rust Nightly: rustc 1.58.0-nightly (46b8e7488 2021-11-07)

Migrations

  • [C] #517 ‼️ HIGH - Look at the upgrade go-ahead and restriction signals

Runtimes

The information about the runtime included in this release can be found below.
The runtime has been built using srtool v0.9.18 and rustc 1.56.1 (59eed8a2a 2021-11-01).

Statemint

🏋️ Runtime Size:		649.07 KB (664645 bytes)
🔥 Core Version:		statemint-601 (statemint-0.tx4.au1)
🗜 Compressed:			Yes: 77.1%
🎁 Metadata version:		14
🗳️ authorizeUpgrade hash:	0x42c6f1ecdf1f8d07b9cf321e99feaf2344638b172b5586c2aaf91da5adb0657e
#️⃣ Blake2-256 hash:		0xaf49687b93d91fc08c1fcea1001d724a95c533a949019645d3e4179beedbf67e
📦 IPFS:			QmQNE2AhVajjEfKgCvwkiwwNqxy2gq18bmEtSaqjnMJtcT

Changes

Legend

  • [C] Cumulus
  • [P] Polkadot
  • [S] Substrate

Client

  • [S] #9789 - Quickly skip invalid transactions during block authorship.
  • [S] #9663 Low - Introduce block authorship soft deadline
  • [S] #9938 - --dev implies --tmp
  • [S] #9971 Low - Use correct db path for parity-db
  • [S] #9966 - Disable log reloading by default
  • [S] #10003 - Sc-executor-wasmtime: upgrade wasmtime to 0.30.0
  • [S] #10013 - Make the ws buffer size configurable

Runtime

  • [C] 837 - Disable asset transfers on Statemint (against Statemint release branch v6.0.1)
  • [P] #3988 - Tidy up xcm errors in preparation for v2.
  • [S] #9834 Low - Rework transaction priority calculation
  • [P] #3980 - Allow an offset to lease periods
  • [S] #9948 - Root origin always bypass all filter, other origin cannot by…
  • [P] #4062 ‼️ HIGH - Dispatchable xcms should translate to v0 [✉️ XCM]
  • [S] #10004 - More lenient mechanism for identifying stash accounts in pur…
  • [P] #4145 - Fix weights on hard-coded xcm fragments (backport)
  • [P] #4148 - Fix xcm teleport benchmark (backport)
  • [P] #4157 - Allow queries subscriptions - backport v0.9.12

Misc

There are 25 other misc. changes. You can expand the list below to view them all.

25 misc. changes
  • [S] #9789 - Quickly skip invalid transactions during block authorship.
  • [P] #3988 - Tidy up xcm errors in preparation for v2.
  • [S] #9834 Low - Rework transaction priority calculation
  • [S] #9663 Low - Introduce block authorship soft deadline
  • [P] #3980 - Allow an offset to lease periods
  • [S] #9938 - --dev implies --tmp
  • [S] #9757 - Add low level traits to retrieve name, symbol, decimals and …
  • [S] #9948 - Root origin always bypass all filter, other origin cannot by…
  • [S] #9814 - Support extra constant renaming
  • [S] #9971 Low - Use correct db path for parity-db
  • [S] #9966 - Disable log reloading by default
  • [P] #4036 - Validator-discovery: don't remove multiaddr of requested `pe…
  • [S] #9425 - Add deposit and withdraw events to balances pallet
  • [S] #9698 - Pow: add version for quick-check of metadata state and refac…
  • [S] #9755 - Switch to using ss58-registry crate
  • [C] #651 - Added key in subcommand
  • [P] #4062 ‼️ HIGH - Dispatchable xcms should translate to v0 [✉️ XCM]
  • [S] #10003 - Sc-executor-wasmtime: upgrade wasmtime to 0.30.0
  • [P] #4058 - Create a readme for xcmv1 detailing notable changes
  • [S] #10013 - Make the ws buffer size configurable
  • [S] #10004 - More lenient mechanism for identifying stash accounts in pur…
  • [P] #4145 - Fix weights on hard-coded xcm fragments (backport)
  • [P] #4148 - Fix xcm teleport benchmark (backport)
  • [P] #4157 - Allow queries subscriptions - backport v0.9.12

Docker image

The docker image for this release can be found in Docker hub.

You may also pull it with:

docker pull parity/polkadot-collator:v5.1.0-4292ce5b