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

Polkadot v0.9.42

Compare
Choose a tag to compare
@github-actions github-actions released this 04 May 13:09
· 1 commit to release-v0.9.42 since this release
9b1fc27

This release contains the changes from v0.9.41 to v0.9.42.

πŸ‘‰οΈ IMPORTANT:
Please note the upcoming deprecation of the balances.transfer call.
See PR #12951 for more details.

Upgrade Priority

‼️ HIGH: This is a high priority release and you must upgrade as as soon as possible.

The changes motivating this priority level are:

  • [P] #6957 ‼️ HIGH - Nomination pools migration v5: rewardpool fix
  • [S] βœ… trivial #13630 ❗️ Medium - Bump trie-db to 0.27.1 (fix storage iteration bug + change seek behavior with prefix)

Host functions

ℹ️ The runtimes in this release modify unused host functions:

  • [S] βœ… trivial #13630 ❗️ Medium - Bump trie-db to 0.27.1 (fix storage iteration bug + change seek behavior with prefix)

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:

  • [P] βœ… trivial #6937 Low - Inherent disputes: remove per block initializer and disputes timeout event
  • [S] βœ… audited #13715 ‼️ HIGH - Reward pool migration fix
  • [S] βœ… audited #13936 ❗️ Medium - Removes reportsbykindindex
  • [P] #7114 ❗️ Medium - Offences migration v1: removes reportsbykindindex

NOTE: In addition to the migrations mentioned above, all the migrations included in runtimes since v9380 have been included in this release, allowing to jump over a few runtimes. See details in #7162.

Rust compiler versions

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

  • Rust Stable: rustc 1.68.2 (9eb3afe9e 2023-03-27)
  • 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.10.0 and rustc 1.69.0 (84c898d65 2023-04-16).

Kusama

πŸ‹οΈ Runtime Size:           1.41 MB (1473360 bytes)
πŸ”₯ Core Version:           kusama-9420 (parity-kusama-0.tx22.au2)
πŸ—œ Compressed:             Yes: 79.15%
🎁 Metadata version:       V14
πŸ—³οΈ system.setCode hash:    0x4478db9b4d9fffc6ab501a2c255d3c41526f5fda05684a7834159fee4c49e824
πŸ—³οΈ authorizeUpgrade hash:  0x74bafb8d5617da54a4797e737ad033292fd5407a7e0e8ef18930b5128008a9f2
πŸ—³οΈ Blake2-256 hash:        0xaa5837e5dc5d96bb4ac1558ca796c2cf8415158ca5b24291f71c21191c798404
πŸ“¦ IPFS:                   QmdKdUJyGk5MbhnbqdHiuE7f8DZwMX3T3sSgHVEqELwRWB

Polkadot

πŸ‹οΈ Runtime Size:           1.38 MB (1446304 bytes)
πŸ”₯ Core Version:           polkadot-9420 (parity-polkadot-0.tx23.au0)
πŸ—œ Compressed:             Yes: 78.98%
🎁 Metadata version:       V14
πŸ—³οΈ system.setCode hash:    0x01e1180ccab40bec6ba7f9cf3d73ffa74e25a4a2e48d7e8e1318bd364ec6e417
πŸ—³οΈ authorizeUpgrade hash:  0x857ac6d7f37e3fccf827740606e03db8572c1a86dababa43e5f0890211a00781
πŸ—³οΈ Blake2-256 hash:        0x68708ed16071983a5a20968f6cd94989fa43834242c16fca5cdd58fb73d54e1f
πŸ“¦ IPFS:                   QmeN9d7oedB4zj679i8AveQ6Vf3Rrp2cp1bVJpEaNExsNT

Rococo

πŸ‹οΈ Runtime Size:           1.26 MB (1324878 bytes)
πŸ”₯ Core Version:           rococo-9420 (parity-rococo-v2.0-0.tx21.au0)
πŸ—œ Compressed:             Yes: 79.57%
🎁 Metadata version:       V14
πŸ—³οΈ system.setCode hash:    0x92a79700edfd41b9a3499c9226b1ed8369d50540bf493a9ad8aaf365803d9ad2
πŸ—³οΈ authorizeUpgrade hash:  0x592bae254cbb73ce975f181eff2df8eb17ad7fd781f9f0f1f0f7d79b23e7c9b6
πŸ—³οΈ Blake2-256 hash:        0x798db83f887aaef450f549423b5a1cc419cad508b80781b94f88e158dd0b5bb4
πŸ“¦ IPFS:                   QmUEcbkWt2KSX6S8ZrWhgCwsvxu4nBytJpX8iyH95eddgt

Westend

πŸ‹οΈ Runtime Size:           1.24 MB (1303001 bytes)
πŸ”₯ Core Version:           westend-9420 (parity-westend-0.tx21.au2)
πŸ—œ Compressed:             Yes: 79.12%
🎁 Metadata version:       V14
πŸ—³οΈ system.setCode hash:    0x2d1e7ec42fbaa342eddd731416a547ba98406ef4ad95153252b7792a5d018460
πŸ—³οΈ authorizeUpgrade hash:  0x113de3dd56e81a01e0dd71a4b3eb3d0d05520f5db1f58b40d418e4efc9252142
πŸ—³οΈ Blake2-256 hash:        0x48287d1e83c938f07b81de1d4d5d71482607dade1e0a1bc2abd3aa6b802527d3
πŸ“¦ IPFS:                   QmUhYf7PpKv9SH1LtKRcz5p2aUK56cPdjxWtBXNvzE4aj5

Changes

Legend

  • [P] Polkadot
  • [S] Substrate

Client

  • [S] βœ… trivial #13684 Low - Try-runtime: run migration checks per default
  • [S] βœ… trivial #13580 Low - Support stable rust for compiling the runtime
  • [S] βœ… trivial #13799 Low - Remove deprecated batch verification
  • [S] βœ… trivial #13769 Low - Proofrecorder: implement transactional support
  • [S] βœ… trivial #13794 Low - Fix try-runtime follow-chain, try-runtime upgrade tuple tests, cli test utils
  • [S] βœ… trivial #13824 Low - Make blocks per request configurable
  • [S] βœ… trivial #13740 Low - Refactor(sc-executor): use wasm executor builder instead of old apis
  • [S] βœ… trivial #13918 Low - Unqueue invalid transactions when skipping
  • [S] #13917 Low - Drain all the pending messages in the channel when tracingunboundedreceiver is dropped
  • [S] #13925 Low - Sc-allocator: do not panic on invalid header pointer
  • [P] #7040 Low - Switch to dns name based bootnodes for rococo
  • [S] βœ… trivial #13870 Low - Refactor(cli): make some run params reusable

Runtime

  • [S] βœ… audited #12951 Low - Deprecate Currency; introduce holds and freezing into fungible traits
  • [S] βœ… trivial #13287 Low - Metadata v15: expose api to fetch metadata for version
  • [P] βœ… trivial #6897 Low - Update weights
  • [P] βœ… audited #6701 Low - Introduce opengov into polkadot
  • [P] ⏳ pending non-critical audit #5974 Low - Kusama: enable dispute slashes
  • [S] βœ… trivial #13558 Low - Getcallindex trait
  • [P] βœ… trivial #6928 Low - Vstam1/xcm admin origin
  • [P] βœ… trivial #6937 Low - Inherent disputes: remove per block initializer and disputes timeout event
  • [S] βœ… audited #12287 Low - Emit event when changing total locked value in pallet-balances
  • [S] βœ… trivial #13704 Low - Frame: fix the referenda confirming alarm
  • [S] βœ… audited #13715 ‼️ HIGH - Reward pool migration fix
  • [S] βœ… trivial #13648 Low - Contracts: add host function tracing
  • [P] βœ… trivial #6846 Low - Proxy for nomination pools
  • [P] βœ… trivial #6980 Low - Tighter bound on asset types teleported so that weight is cheaper
  • [S] βœ… trivial #13702 Low - [contracts] overflowing bounded deletionqueue
  • [S] βœ… trivial #13610 Low - Refactor: inconsistent balanceconversion fn
  • [S] βœ… trivial #13798 Low - Uniform pallet warnings
  • [S] βœ… trivial #13722 Low - Implement #[pallet::composite_enum]
  • [S] βœ… trivial #13699 Low - Deprecate v1 weights
  • [S] βœ… trivial #13835 Low - removepallet migration utility struct
  • [S] βœ… trivial #13302 Low - Metadata v15: add runtime api metadata
  • [S] βœ… trivial #13851 Low - Fix fungible and fungibles set_balance return value
  • [S] βœ… trivial #13724 Low - Contracts: add sr25519_verify
  • [P] ⏳ pending non-critical audit #6934 Low - Enable changing executor params through governance
  • [P] βœ… audited #6843 Low - Xcm: properly set the pricing for the dmp router
  • [S] #13779 Low - Add freeze/thaw events and tests
  • [P] #6662 Low - Xcm: remote account converter
  • [S] βœ… trivial #13827 Low - Pallet-democracy: do not request the proposal when scheduling
  • [S] βœ… audited #13936 ❗️ Medium - Removes reportsbykindindex
  • [P] #7114 ❗️ Medium - Offences migration v1: removes reportsbykindindex
  • [S] βœ… trivial #13988 ❗️ Medium - Pallet collective: fix genesis member sort order
  • [P] ⏳ pending non-critical audit #7098 Low - Xcm: implement a blocking barrier
  • [S] ⏳ pending non-critical audit #13932 Low - Frame: inherited call weight syntax
  • [P] βœ… trivial #7150 Low - Update weights

API

  • [P] βœ… trivial #6885 Low - Release parachain host api v4
  • [S] βœ… trivial #13630 ❗️ Medium - Bump trie-db to 0.27.1 (fix storage iteration bug + change seek behavior with prefix)

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