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

Polkadot v0.9.22

Compare
Choose a tag to compare
@github-actions github-actions released this 18 May 15:39
17c7b95

This release contains the changes from v0.9.21 to v0.9.22.

Notes

RPC Server

This release switches to a new JSON-RPC server library, which imposes the following changes:

  • IPC transport support has been removed.
  • DEPRECATED CLI --ipc-path: has been been deprecated and does nothing.
  • The maximum number of subscriptions per connection has been hardcoded to 1024, this will be configurable in the next release via a CLI flag.
  • The logging has slightly changed: If you rely on waiting for the output Listening for new connections <ADDR>, it has changed to Running JSON-RPC WS server: addr=<ADDR> to determine when RPC servers has been started.

Weights

As with every release, the weights have been adjusted according to the latest benchmarks.
The details can be found here.

Upgrade Priority

Low: This is a low priority release and you may upgrade at your convenience.

Host functions

ℹ️ This release does not contain any new host functions.

Database Migrations

ℹ️ There is no database migration in this release.

Runtime Migrations

Runtime migrations are operations running once during a runtime upgrade.
⚠️ There is one runtime migration in this release:

  • [P] ✅ trivial #5447 Low - Add nomination pools to kusama

Rust compiler versions

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

  • Rust Stable: rustc 1.60.0 (7737e0b5c 2022-04-04)
  • Rust Nightly: rustc 1.62.0-nightly (6dd68402c 2022-05-11)

Runtimes

The information about the runtimes included in this release can be found below.
The runtimes have been built using srtool v0.9.20 and rustc 1.60.0 (7737e0b5c 2022-04-04).

Kusama

🏋️ Runtime Size:		1.27 MB (1334927 bytes)
🔥 Core Version:		kusama-9220 (parity-kusama-0.tx11.au2)
🗜 Compressed:			Yes: 79.93%
🎁 Metadata version:		V14
🗳️ system.setCode hash:		0x72f60c5db391e6b93ce5326e62787e78409570564f3d9eac47d373b5290e7e96
🗳️ authorizeUpgrade hash:	0x1d3a6412f2d1b3bdee87db4a517e8468a834fe2a675c4f62ee633694b279e61a
#️⃣ Blake2-256 hash:		0xfa7a00ce83b9c72eed224bcfaa7ad7ac206f55c1470efbcc280b842b611e154d
📦 IPFS:			QmbmSJHDwMs2DdrXhrVFTRtGcweMeUjjMuxDZQLG85ewCR

Polkadot

🏋️ Runtime Size:		1.15 MB (1204340 bytes)
🔥 Core Version:		polkadot-9220 (parity-polkadot-0.tx12.au0)
🗜 Compressed:			Yes: 79.89%
🎁 Metadata version:		V14
🗳️ system.setCode hash:		0x061f7d9c2994b388cf69da9c4bef9f8c1ea1b00a66c43531f515aeacbe0a76a8
🗳️ authorizeUpgrade hash:	0x90fd786b77ad94745d1fa31ee5f5c547bdb1a57e214216b7dbec48232aecd3db
#️⃣ Blake2-256 hash:		0xc0ebe1fe04e21861f236448c53a4a2eface547a857aac3fdcaa7397bd5978edb
📦 IPFS:			QmWxoj1i7FoVCXSRasExQZSDM11NRkEVAc9txyeBExnzXk

Rococo

🏋️ Runtime Size:		938.43 KB (960949 bytes)
🔥 Core Version:		rococo-9220 (parity-rococo-v2.0-0.tx0.au0)
🗜 Compressed:			Yes: 80.45%
🎁 Metadata version:		V14
🗳️ system.setCode hash:		0xcfd9f759a7eb15624c7db05570368c8af862e9f920db6340b03e179554424abd
🗳️ authorizeUpgrade hash:	0xf04fa645fc752ca8ad40fdf5adafcef0ad1b2901ffdb30578cc4c76bf45398e3
#️⃣ Blake2-256 hash:		0x1da9b54e284acec427450f69590d9fb2828fa6c0468d9ec42df6a266ac1112ca
📦 IPFS:			QmUVdeEarTjksz9v5Fxw4KPbz8NDRdQMMr9UnZEhz3e7wB

Westend

🏋️ Runtime Size:		1.12 MB (1175176 bytes)
🔥 Core Version:		westend-9220 (parity-westend-0.tx11.au2)
🗜 Compressed:			Yes: 79.99%
🎁 Metadata version:		V14
🗳️ system.setCode hash:		0x9f04da18a613cc848f0b04c2d60cd640459aa220144c91c5f13343f7fcdc38c9
🗳️ authorizeUpgrade hash:	0xae57c9107e72975cd8bd2e03d81fcb4c202419ba284180f0ef1bd2d30282cc8d
#️⃣ Blake2-256 hash:		0x226249ecff1e887bff022790b22d7805984da854eb497d8ae714a2795a2a2894
📦 IPFS:			Qmak16rKA6HnpR3PUs8rTXGZjSxRUejLGnKejj464Hz6uX

Changes

Legend

  • [P] Polkadot
  • [S] Substrate

Client

  • [S] ✅ trivial #11250 Low - Add chain-info subcommand
  • [S] ✅ trivial #11259 Low - Make wildcard storage change subscriptions rpc-unsafe

Runtime

  • [S] ⏳ pending non-critical audit #10698 Low - Remark storage
  • [S] ✅ audited #11002 Low - Configurable call fee refund for signed submissions
  • [S] ✅ audited #10982 Low - Staking: proportional ledger slashing
  • [S] ✅ audited #10694 Low - Nomination pools
  • [S] ✅ trivial #11025 Low - Dependency injection trait locker for uniques pallet
  • [S] ✅ audited #11148 Low - Add force_batch to utility pallet
  • [S] ✅ trivial #11372 Low - Contracts: prevent pov attack vector with minimal viable sol…
  • [P] ✅ trivial #5447 Low - Add nomination pools to kusama
  • [P] ✅ trivial #5511 Low - Update weights (#5507)

Misc

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

Other misc. changes
  • [S] ✅ trivial #11087 Low - Add frame_support::crypto::ecdsa::public.to_eth_address()
  • [S] ⏳ pending non-critical audit #10698 Low - Remark storage
  • [S] ✅ audited #11002 Low - Configurable call fee refund for signed submissions
  • [S] ✅ audited #10982 Low - Staking: proportional ledger slashing
  • [P] ✅ trivial #5369 Low - Polkadot-like testnets should be 10 decimal places
  • [S] ✅ trivial #11250 Low - Add chain-info subcommand
  • [P] ✅ trivial #5331 Low - Service: use deny-list instead of allow-list for beefy
  • [S] ✅ trivial #11259 Low - Make wildcard storage change subscriptions rpc-unsafe
  • [S] ✅ audited #10694 Low - Nomination pools
  • [S] ✅ trivial #11025 Low - Dependency injection trait locker for uniques pallet
  • [S] ✅ trivial #11337 Low - [contracts] stabilize seal_code_hash, seal_set_code_hash
  • [S] ✅ audited #11148 Low - Add force_batch to utility pallet
  • [S] ✅ trivial #10995 Low - Remove the --unsafe-pruning cli-argument (step 1)
  • [S] ✅ trivial #11372 Low - Contracts: prevent pov attack vector with minimal viable sol…
  • [S] ✅ trivial #11378 Low - [contracts] stabilize seal_contains_storage(vseal0) and …
  • [S] ✅ trivial #8783 Low - Jsonrpsee integration
  • [P] ✅ trivial #5447 Low - Add nomination pools to kusama
  • [P] ✅ trivial #5511 Low - Update weights (#5507)

Docker images

The docker image for this release can be found on Docker hub
(It will be available a few minutes after this release was published).

You may also pull it with:

docker pull parity/polkadot:latest