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

Polkadot v0.9.27

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Aug 13:22
b017bad

This release contains the changes from v0.9.26 to v0.9.27.

Upgrade Priority

❗️ Medium: This is a medium priority release and you should upgrade in a timely manner.

The changes motivating this priority level are:

  • [P] #5798 ❗️ Medium - Westend xcm: collectives parachain is trusted teleporter (RUNTIME)

Host functions

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

Database Migrations

Database migrations are operations upgrading the database to the latest stand.
Some migrations may break compatibility, making a backup of your database is highly recommended.

ℹ️ There is no database migration in this release.

Runtime Migrations

Runtime migrations are operations running once during a runtime upgrade.

⚠️ There are 2 runtime migrations in this release:

  • [S] ✅ audited #11669 Low - Revamp nomination pool reward scheme
  • [P] ⏳ pending non-critical audit #5757 Low - Companion for new pools reward scheme

Rust compiler versions

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

  • Rust Stable: rustc 1.62.1 (e092d0b6b 2022-07-16)
  • Rust Nightly: rustc 1.64.0-nightly (7fe022f5a 2022-07-24)

Runtimes

The information about the runtimes included in this release can be found below.
The runtimes have been built using srtool v0.9.21 and rustc 1.62.0 (a8314ef7d 2022-06-27).

Kusama

🏋️ Runtime Size:           1.32 MB (1384860 bytes)
🔥 Core Version:           kusama-9270 (parity-kusama-0.tx12.au2)
🗜 Compressed:             Yes: 80.55%
🎁 Metadata version:       V14
🗳️ system.setCode hash:    0x91af26d2259c86e1330ae373c8d5e9b5b0bc4743f8bedea12926e1365dfbcc06
🗳️ authorizeUpgrade hash:  0x56578fc377d07a66b7051159257640aee5976194ff14739ea5cccacb380dcc52
🗳️ Blake2-256 hash:        0x41c442742459ee500119f272cd024bdda4025e68e7f112f9e4a8385e7665b2e4
📦 IPFS:                   QmZEfXFLT4KUAzxMUivCaCGnAys9S7pZapGvQHHUK5TEzL

Polkadot

🏋️ Runtime Size:           1.20 MB (1256049 bytes)
🔥 Core Version:           polkadot-9270 (parity-polkadot-0.tx13.au0)
🗜 Compressed:             Yes: 80.56%
🎁 Metadata version:       V14
🗳️ system.setCode hash:    0x55507b53f5c37e97e3faf9a9274dba0c5eace970aa5c653c179126f679ed496e
🗳️ authorizeUpgrade hash:  0x7a171e89d2f090075ca82e50f66ad981285e0e5617ba6b8b297ae4a24613ef6a
🗳️ Blake2-256 hash:        0x4c7ef8e29da32c956081c678a4c59b39241692a8a0062a5c666c7f638fd81710
📦 IPFS:                   QmcW7Uvy3sMfuEkzfn1ztBRnpGQuPMV6dFfh1w3Yk2yRAB

Rococo

🏋️ Runtime Size:           886.22 KB (907485 bytes)
🔥 Core Version:           rococo-9270 (parity-rococo-v2.0-0.tx1.au0)
🗜 Compressed:             Yes: 80.93%
🎁 Metadata version:       V14
🗳️ system.setCode hash:    0x73d12a2d4265620016bba9e0684ff2b5fb93373ae4dca1d946f435b0e749f1bc
🗳️ authorizeUpgrade hash:  0xe268d92f2a850075997df3ab98b568c8364f4f07d692b1e142ec38784755a468
🗳️ Blake2-256 hash:        0x5f565476534851805742b8d4723ea1ffeede08746f76a34f40b0e617cacfa985
📦 IPFS:                   QmWCmHESpasNAaaJQ1KTp4hLeAHfBfmGfVSZmezxWEqP6A

Westend

🏋️ Runtime Size:           1.14 MB (1194831 bytes)
🔥 Core Version:           westend-9270 (parity-westend-0.tx11.au2)
🗜 Compressed:             Yes: 80.62%
🎁 Metadata version:       V14
🗳️ system.setCode hash:    0x970ef0cb14b2be162a33b0c78a64905be482a32919cf95da7a108f285967c629
🗳️ authorizeUpgrade hash:  0x3c50222dc89465ff9a69a2e169ccb9ffbe7335c0dff5d3d1eba31e11bfedb36d
🗳️ Blake2-256 hash:        0xcb59f8847ba54d396bb5d1c24c351babcfd9fd468fb45829a222b573b943dd29
📦 IPFS:                   QmXVnaB2qvYsHidkY56cxUwMkZM2w1uAXCVne1tUE6CHd8

Changes

Legend

  • [P] Polkadot
  • [S] Substrate

Client

  • [S] ✅ trivial #11786 Low - Cli flag to configure tx ban duration
  • [S] ✅ trivial #11456 Low - Add benchmark extrinsic command
  • [S] ✅ trivial #11831 Low - Rpc for pending rewards

Runtime

  • [S] ⏳ pending non-critical audit #11771 Low - [contracts] fixed the bug with transfer value for delegate call
  • [S] ✅ trivial #11807 Low - Un-deprecate transactional macro
  • [S] ✅ audited #11398 Low - Buy&sell methods for uniques
  • [S] ✅ audited #11669 Low - Revamp nomination pool reward scheme
  • [S] ✅ audited #11746 Low - Fix nomination pools unbonding logic
  • [S] ✅ trivial #11816 Low - Contracts: composable chainextension
  • [P] #5798 ❗️ Medium - Westend xcm: collectives parachain is trusted teleporter
  • [S] ✅ trivial #11770 Low - Add era to unbonded event
  • [S] ✅ trivial #11874 Low - Contracts: allow chainextension::call() to access &mut self

Misc

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

Other misc. changes
  • [S] ⏳ pending non-critical audit #11771 Low - [contracts] fixed the bug with transfer value for delegate call
  • [S] ✅ trivial #11807 Low - Un-deprecate transactional macro
  • [S] ✅ trivial #11786 Low - Cli flag to configure tx ban duration
  • [S] ✅ audited #11398 Low - Buy&sell methods for uniques
  • [S] ✅ audited #11669 Low - Revamp nomination pool reward scheme
  • [S] ✅ audited #11746 Low - Fix nomination pools unbonding logic
  • [S] ✅ trivial #11816 Low - Contracts: composable chainextension
  • [S] ✅ trivial #11456 Low - Add benchmark extrinsic command
  • [P] ✅ trivial #5620 Low - Co #11456: expose benchmark extrinsic command
  • [P] #5798 ❗️ Medium - Westend xcm: collectives parachain is trusted teleporter
  • [S] ✅ trivial #11770 Low - Add era to unbonded event
  • [S] ✅ trivial #11874 Low - Contracts: allow chainextension::call() to access &mut self
  • [S] ✅ trivial #11831 Low - Rpc for pending rewards

Docker image

The docker image for this release can be found at Docker hub
(It will be available a few minutes after the release has been published).

You may pull it using:

docker pull parity/polkadot:latest

Addendum

There has been a minor runtime patch relevant to kusama and westend.
These runtimes (9271) contain the changes from v0.9.27 to v0.9.27-1.

The client, as well as other runtimes, are unaffected.

Runtime Migrations

Runtime migrations are operations running once during a runtime upgrade.

ℹ️ There are runtime migrations in this release.

Kusama:

  • Staking - MigrateToV10
  • Nomination Pools - MigrateToV2

Westend:

  • Nomination Pools - MigrateToV2

Runtimes

The information about the runtimes included in this release can be found below.
The runtimes have been built using srtool v0.9.21 and rustc 1.62.0 (a8314ef7d 2022-06-27).

Kusama

🏋️ Runtime Size:           1.32 MB (1385510 bytes)
🔥 Core Version:           kusama-9271 (parity-kusama-0.tx12.au2)
🗜 Compressed:             Yes: 80.57%
🎁 Metadata version:       V14
🗳️ system.setCode hash:    0x5e8e9e34cd303305f690a6e977a8a80f955d0177f370b10f04a4b01d32a7202d
🗳️ authorizeUpgrade hash:  0x50279548cfa583958e936d4c733232568daba34c5942a26e5c26171f0222380b
🗳️ Blake2-256 hash:        0xfebbd4ee836126748786491e4770743c9bad08472b3ed15fe6d6c74c250540b4
📦 IPFS:                   Qmc7h6uaCErd3kpbUhUb16WY5XixnN2snFWy4TEvmoembJ

Westend

🏋️ Runtime Size:           1.15 MB (1203075 bytes)
🔥 Core Version:           westend-9271 (parity-westend-0.tx11.au2)
🗜 Compressed:             Yes: 80.41%
🎁 Metadata version:       V14
🗳️ system.setCode hash:    0x179ee28daa9e94e18cb2526e73177a8c3df19144db316196a59321fb02a1a0c9
🗳️ authorizeUpgrade hash:  0x1b0f9e26460ec26b2af49e66079eb7d971a6169aa7c2be03183f88ca97325936
🗳️ Blake2-256 hash:        0x5e40600224a0e0b5ef01bfdd63aff941aabf5be4e680da348428a2789f219e74
📦 IPFS:                   QmfAtSJgLeRDSSL4GS7yQdrS9nFRXU6Ru1QvfHkH3cjZqd