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

Polkadot v0.9.40

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Mar 16:02
· 5 commits to release-v0.9.40 since this release
a2b62fb

This release contains the changes from v0.9.39-1 to v0.9.40.

Note

Patch releases for the runtimes are available as an addendum to this release.
See the bottom of the release notes for more information.

Upgrade Priority

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

The changes motivating this priority level are:

  • [S] ✅ audited #13443 ❗️ Medium - [contracts] forbid calling back to contracts after switching to 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 4 runtime migrations in this release:

  • [S] ✅ audited #13424 Low - Yieldable queues for pallet messagequeue
  • [S] #13482 Low - [nfts] rework permissions model
  • [S] ✅ audited #13128 Low - Nomination pool commission
  • [P] #6264 Low - Polkadot companion: #13128 (pools commission)

Rust compiler versions

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

  • Rust Stable: rustc 1.66.1 (90743e729 2023-01-10)
  • Rust Nightly: rustc 1.67.0-nightly (a00f8ba7f 2022-11-15)

Runtimes

The information about the runtimes included in this release can be found below.
The runtimes have been built using srtool v0.9.25 and rustc 1.66.1 (90743e729 2023-01-10).

Kusama

🏋️ Runtime Size:           1.45 MB (1521721 bytes)
🔥 Core Version:           kusama-9400 (parity-kusama-0.tx21.au2)
🗜 Compressed:             Yes: 79.3%
🎁 Metadata version:       V14
🗳️ system.setCode hash:    0xdce30bcb9a7ac686f33f564fdf92704a6322713677ae52ed455361a4201e3299
🗳️ authorizeUpgrade hash:  0x0c42d85fa234cc69c1f24410f28a8e37bc93d3d931858e0d02bb348c49589dc6
🗳️ Blake2-256 hash:        0xef5e03df732867eb9169154a5676e6b22e47154ccb17ced73fc836bdae026e1e
📦 IPFS:                   QmT6gJyNr5onon8vAuJDT3qA6aVhE9TmQpzWBhUdDdqyXs

Polkadot

🏋️ Runtime Size:           1.30 MB (1359044 bytes)
🔥 Core Version:           polkadot-9400 (parity-polkadot-0.tx22.au0)
🗜 Compressed:             Yes: 78.67%
🎁 Metadata version:       V14
🗳️ system.setCode hash:    0x99f6c538c3a00b9052f181e8568dbbacbfc73d0ce64de03b0d4d823c458c1dba
🗳️ authorizeUpgrade hash:  0x4c6311e241062f71bbfdbfdcb3dcc8c0f7067b1345acacb3823dec2c5212f712
🗳️ Blake2-256 hash:        0xade876b7e04461fb4c9ca0aa4aa21a9c30f264abf57c24e0fbff9a008a3c1150
📦 IPFS:                   QmeeWgZR1ThPCJfej8GQXwMdVeeyiyxtR5Bw6vUEgXTfT7

Rococo

🏋️ Runtime Size:           1.24 MB (1300333 bytes)
🔥 Core Version:           rococo-9400 (parity-rococo-v2.0-0.tx20.au0)
🗜 Compressed:             Yes: 79.17%
🎁 Metadata version:       V14
🗳️ system.setCode hash:    0x721985348e583b64decbf247ab04da20d429fea501a7affd8d46f5a4efd55368
🗳️ authorizeUpgrade hash:  0x1072f560cad89090e1e44d19a093ad8f29e81d34ca73a53ab877044d35006d57
🗳️ Blake2-256 hash:        0x194e6fb73a1946c7b1b6c8494c99c2b63713510279de228b08b0c219f3d6c6e6
📦 IPFS:                   QmYSMETLBoFSbTyN6eMYyeLvJAzSXwFfrT9ZiWscNYPqaE

Westend

🏋️ Runtime Size:           1.21 MB (1263632 bytes)
🔥 Core Version:           westend-9400 (parity-westend-0.tx20.au2)
🗜 Compressed:             Yes: 78.97%
🎁 Metadata version:       V14
🗳️ system.setCode hash:    0x314280175a6e7204ece4ad0840f7307e6c0fe30079b4ddedbe3661918eee85d8
🗳️ authorizeUpgrade hash:  0x762ff72e426ab74ce6c47d90c10bf908176dd1158de241e0c4faefc8bf4aa3f1
🗳️ Blake2-256 hash:        0x1fcf8e6cc772727edbbede31246a4ad65e4ce17c0de3fc5f3c9cff43c51a0edc
📦 IPFS:                   QmYb4JFVSjHuHHaZtkFPLSZPbtB77ho9zQytkMPRppJFsJ

Changes

Legend

  • [P] Polkadot
  • [S] Substrate

Client

  • [S] ✅ trivial #13477 Low - Adjust the ratio of the in-peers/out-peers
  • [S] ✅ trivial #13566 ‼️ HIGH - Bump wasmtime from 6.0.0 to 6.0.1
  • [P] ✅ trivial #6851 ‼️ HIGH - Update wasmtime to 6.0.1 / substrate to 48e7cb1
  • [S] ✅ trivial #13592 Low - Move code from sc-network-common back to sc-network

Runtime

  • [S] ✅ audited #13424 Low - Yieldable queues for pallet messagequeue
  • [S] #13468 Low - pallet-treasury: ensure we respect max_amount for spend across batch calls
  • [P] ✅ trivial #6798 Low - Update weights
  • [S] ✅ trivial #13488 Low - Expose chargedamount
  • [S] ⏳ pending non-critical audit #13486 Low - Assets pallet: giving the asset owner the ability to set minimum balance
  • [S] ✅ trivial #13352 Low - Return account's asset balances
  • [S] ✅ trivial #13475 Low - Deprecate weight::from_{ref_time, proof_size}
  • [S] #13378 Low - Salary pallet
  • [P] ⏳ pending non-critical audit #6756 Low - Introduce xcm matcher for writing barriers
  • [S] ✅ audited #13443 ❗️ Medium - [contracts] forbid calling back to contracts after switching to runtime
  • [S] ✅ trivial #13560 Low - Undeploy insecure randomness pallet
  • [S] ✅ trivial #13503 Low - Logic for the (core) fellowship
  • [S] #13482 Low - [nfts] rework permissions model
  • [S] ✅ trivial #13452 Low - Metadata v15: expose pallet documentation
  • [S] ✅ audited #13128 Low - Nomination pool commission
  • [S] ✅ trivial #13341 Low - Pallet dispatchable+storage doc module.
  • [P] ✅ trivial #6897 Low - Update weights

API

  • [S] #12828 Low - Extract syncing protocol from sc-network
  • [S] ✅ trivial #13576 Low - Nfts: minor fixes

Misc

  • [P] ✅ trivial #6884 Low - Remove duplicated arm and fix version index [✉️ XCM]

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: Runtimes 9401

In addition to the changes above, the attached 9401 runtimes also contain the following change:

  • [P] #6957 ‼️ HIGH - Nomination pools migration v5: rewardpool fix

Kusama

🏋️ Runtime Size:           1.45 MB (1523312 bytes)
🔥 Core Version:           kusama-9401 (parity-kusama-0.tx21.au2)
🗜 Compressed:             Yes: 79.29%
🎁 Metadata version:       V14
🗳️ system.setCode hash:    0xd7b7e451f097847034b13e3d1d96f270bd3c44ae26c370addab3da9ba134ea79
🗳️ authorizeUpgrade hash:  0xb0accc5ac0156f111705b2d2688acf1a633c328ce5c8b9c9184272fb5db3c26c
🗳️ Blake2-256 hash:        0x5ee24443e9eb450e3d7b84baea81a54be0747f84fc6a90366f662b842e8894c1
📦 IPFS:                   QmatwcgjthJks7SZsUoi29f4DrL6McnS92NnggGsokifhW

Polkadot

🏋️ Runtime Size:           1.30 MB (1359238 bytes)
🔥 Core Version:           polkadot-9401 (parity-polkadot-0.tx22.au0)
🗜 Compressed:             Yes: 78.67%
🎁 Metadata version:       V14
🗳️ system.setCode hash:    0x88b43777292423b729e51c63586e13c258e6b22aebeb21d0e70969b83b792a18
🗳️ authorizeUpgrade hash:  0xad97a3bb935b9c7a3816ea76c8055e38e381fbde025e194109a55751183ab2cb
🗳️ Blake2-256 hash:        0xb5df5051454bb16202725d749afe627f8fff43efbea4b01a2b886ce89c9cbea0
📦 IPFS:                   QmNX6UCh8bJaa2QpBpK4nu9tsyA14TJuYpq9ZZrZ9eA8ve

Rococo

🏋️ Runtime Size:           1.24 MB (1300377 bytes)
🔥 Core Version:           rococo-9401 (parity-rococo-v2.0-0.tx20.au0)
🗜 Compressed:             Yes: 79.17%
🎁 Metadata version:       V14
🗳️ system.setCode hash:    0x00a9de00872f57c605e9893d59d127dfbc577cf5f62c6417577337e8bf97ee5e
🗳️ authorizeUpgrade hash:  0xfdd8c7e8cc714558cf0f346670067a90622802938c8041e64840ba8cb7f80951
🗳️ Blake2-256 hash:        0x3f1bf74a14fd2a06468ed0790e30febe81d960a723394b7e2308414faea4642c
📦 IPFS:                   QmeQssLMPgzk3FkB12xWsXHV4H1mH2fyruxhcMxx7xTcLc

Westend

🏋️ Runtime Size:           1.20 MB (1263466 bytes)
🔥 Core Version:           westend-9401 (parity-westend-0.tx20.au2)
🗜 Compressed:             Yes: 78.99%
🎁 Metadata version:       V14
🗳️ system.setCode hash:    0x71ff2b6295a5baed09dc55ce4a3e3147fe66dabce6bc806f3791ebc163f2d63a
🗳️ authorizeUpgrade hash:  0x4051130cdbe3598bcfeb2f34fdb99267443f0f1db200ae4d1f3f7c2742ff5e16
🗳️ Blake2-256 hash:        0x435561591739340945b043b40b0e6c42de98f0d809e0d9d11705189dbe4002ec
📦 IPFS:                   QmTNMtqYgfnDao2VySKbcKqh7RFHVe6H9abiwdeqa2mX1r