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

Statemine v6.0.1 (for Polkadot 0.9.12)

Compare
Choose a tag to compare
@chevdor chevdor released this 26 Nov 11:03

This release contains the changes from statemine-v5.0.0 to statemine-v6.0.1.
This release patches v6.0.0 to re-enable teleports and updates the Westmint and Statemine runtimes to Polkadot v0.9.12. It also removes the RandomnessCollectiveFlip pallet.

Client Upgrade Priority

This is a runtime-only release compatible with Statemine v6.0.0 (polkadot-collator v5.1.0) clients and onwards.
Upgrade priority for clients upgrading from older versions is still ‼️ HIGH.

Notable Changes

The following patches were added on top of v6.0.0;

  • Adjust pallet-xcm config to allow for teleports (and reserve transfers) while disallowing arbitrary sends. See #794 for the diff.
  • Fix XCMP handling of overweight messages. See #796 for the diff.

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
  • [C] #726 - Remove randomness collective flip new

Runtimes

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

Statemine

🏋️ Runtime Size:		651.85 KB (667493 bytes)
🔥 Core Version:		statemine-601 (statemine-0.tx4.au1)
🗜 Compressed:			Yes: 77.07%
🎁 Metadata version:		V14
🗳️ system.setCode hash:		0x9663230d1468b395ebc02f63da0efb3cb0acb97d920e8395afa2c5bf937e31f0
🗳️ authorizeUpgrade hash:	0x87131b07d387638df843a93a21b90b46cb44ab48c69ead728903ac134aef4a61
#️⃣ Blake2-256 hash:		0x107c1bfb7a0e0b1d5a9a283be8b7ce782672099ab2aa881392d141173748cf5d
📦 IPFS:			QmcziqCFvbFr8mh3oRPS1wWNMHZBgJDzsjMk1KDkw7DA6v

Westmint

🏋️ Runtime Size:		649.64 KB (665228 bytes)
🔥 Core Version:		westmint-601 (westmint-0.tx4.au1)
🗜 Compressed:			Yes: 77.16%
🎁 Metadata version:		V14
🗳️ system.setCode hash:		0x0b84139a36dadf6cc91fa1ff3e2ca6258e4cb52ef8e951d1c1dad56863737681
🗳️ authorizeUpgrade hash:	0xc0cd7ade72cb3f0e84bc138b764f54d01b9a9899598a4f787d58ceff533c5582
#️⃣ Blake2-256 hash:		0xdd6dbdb03090bde2c33825d5db51c8b598baab53e75431c6915a54ec495d6c78
📦 IPFS:			QmQNjepr2vdW6EdNCTmRvjsqaKxjukMSsL81pV9eRyZcks

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

  • [P] #3988 - Tidy up xcm errors in preparation for v2.
  • [S] #9834 Low - Rework transaction priority calculation
  • [S] #9948 - Root origin always bypass all filter, other origin cannot by…
  • [P] #4062 ‼️ HIGH - Dispatchable xcms should translate to v0
  • [S] #10004 - More lenient mechanism for identifying stash accounts in pur…
  • [P] #4145 - Fix weights on hard-coded xcm fragments (backport)
  • [P] #4157 - Allow queries subscriptions - backport v0.9.12
  • [C] #669 - Disable permissionless asset creation for Statemint
  • [C] #700 - Allow Queries and Subscriptions
  • [C] #715 - Companion for dispatch_as
  • [C] #701 - Ensure a bad datastream cannot cause problems
  • [C] #735 - Adjust XCM weights to 1B

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
  • [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