github paritytech/polkadot v0.9.40
Polkadot v0.9.40

latest releases: v1.0.0-testing-next-ignore-rc1, v1.0.0-rc5, v1.0.0-cumulus-rc1...
20 months ago

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

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

Don't miss a new polkadot release

NewReleases is sending notifications on new releases.