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

Polkadot v0.9.16

Compare
Choose a tag to compare
@github-actions github-actions released this 04 Feb 15:43
41ab002

Global 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] #4594 ‼️ HIGH - Fix checking for the parachainhost runtime api
  • [S] ⏳ pending non-critical audit #9732 Low - Inner hashing of value in state trie (runtime versioning).
  • [P] ✅ trivial #4104 - Companion for substrate#9732

⚠️ The runtimes in this release contain 2 new host functions.
⚠️ It is critical that you update your client before the chain switches to the new runtimes. If you do not update your client before the new runtime is enacted, your node will stop handling parachains functionalities properly until you upgrade.
Also note that PR #9543 is a breaking change for the Prometheus metrics.

Rust compiler versions

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

  • Rust Stable: rustc 1.57.0 (f1edd0429 2021-11-29)
  • Rust Nightly: rustc 1.58.0-nightly (46b8e7488 2021-11-07)

Migrations

This runtime contains a custom migration that fixes the locked deposit of a number of accounts who have voted for the Polkadot council in the past. See the list of affected accounts and more description #4655.

This runtime upgrade contains a custom migration that fixes the locked deposit participants of the historical Nicks pallet, which was only used temporarily in the Kusama runtime. See the list of affected accounts and more description #4656.

  • [S] ✅ trivial #10082 - Contracts: add storage deposits
  • [P] ✅ trivial #4420 - Pvf-precheck: update configuration module
  • [S] ✅ audited #10356 - Preimage registrar and scheduler integration
  • [P] ✅ audited #4384 - Companion for #10356: preimage registrar and scheduler inte…
  • [S] ✅ trivial #9940 - Add classaccount storage to unique pallet
  • [P] ⏳ pending non-critical audit #4540 - Parachains: fix configuration module
  • [P] ⏳ pending non-critical audit #4545 Low - Session-info: add new fields + migration

Runtimes

The information about the runtimes included in this release can be found below.
The runtimes have been built using srtool v0.9.19 and rustc 1.57.0 (f1edd0429 2021-11-29).

Kusama

🏋️ Runtime Size:		1.25 MB (1311338 bytes)
🔥 Core Version:		kusama-9160 (parity-kusama-0.tx9.au2)
🗜 Compressed:			Yes: 76.3%
🎁 Metadata version:		V14
🗳️ system.setCode hash:		0xed1de8f528fe956fbd86db192c7947bac80a33641f2fb11334d8d6b12101c3c2
🗳️ authorizeUpgrade hash:	0x588a715d895302eb46b1d016057be75aa8988fbe8c675ac98b6dcf6248ea1ec3
#️⃣ Blake2-256 hash:		0xfe1f53ee11df8958888f5d531599c312437f05f7d9a5ef20a19e112acf146d33
📦 IPFS:			QmVdW6xn7dKQEZi8Vz8x6vU4gvq7HC4Mafc5ix9bsgjFM4

Polkadot

🏋️ Runtime Size:		1.11 MB (1163629 bytes)
🔥 Core Version:		polkadot-9160 (parity-polkadot-0.tx10.au0)
🗜 Compressed:			Yes: 76.39%
🎁 Metadata version:		V14
🗳️ system.setCode hash:		0x82246c01708524e6954378d75f38c4a1f459d483d3b6a108f5d573eb74bdd557
🗳️ authorizeUpgrade hash:	0x87845047a019842fcdc876402733776fe81f7a6c86f08b1fe1d47876a106f2d7
#️⃣ Blake2-256 hash:		0xae866018e8e57e82b9cb5eb1746d01c646b27e15cc448008a4848aa5b627de84
📦 IPFS:			QmTTcNv3xAS6ZLvp7Dnvcvqe1JYKev6fFJcPVUPu62DazV

Westend

🏋️ Runtime Size:		1.10 MB (1154566 bytes)
🔥 Core Version:		westend-9160 (parity-westend-0.tx9.au2)
🗜 Compressed:			Yes: 76.39%
🎁 Metadata version:		V14
🗳️ system.setCode hash:		0x80ae76e08988ece460cefbecb0bb237ba43b3dce742e9895d11f43d579c13cd6
🗳️ authorizeUpgrade hash:	0x7596586f82049349608eb56a70a7900ecdb31a2950e82f9a537f92ac209a9a61
#️⃣ Blake2-256 hash:		0x3d81161d456afd666ebab7ebb0b3d08c3883c416dce19cfdf157e99f76c09d73
📦 IPFS:			QmSXEsoPLC8aznriPqS4mfMFLNvziSaQa9g3HfLzoUdNG1

Changes

Legend

  • [P] Polkadot
  • [S] Substrate

Client

  • [S] #10419 - No longer include :code and :heappages in execution proofs
  • [S] ✅ trivial #10372 - Allow try-runtime and testexternalities to report pov size
  • [S] #9543 - Remove prometheus metrics prefix
  • [S] ✅ trivial #10454 - Automatically unsubscribe storage listeners when they're dro…
  • [S] ✅ trivial #10440 - Add logger configuration hook
  • [S] ✅ trivial #9940 - Add classaccount storage to unique pallet
  • [S] ✅ trivial #10509 - Slotduration: always fetch the slot duration from the runtim…
  • [S] #10600 - Code-substitute: switch from block_hash to block_number
  • [S] ✅ trivial #10659 - Increase default rocksdb cache size
  • [S] #10688 - Split peer slots between full and light nodes
  • [S] ✅ trivial #10775 - Wasm-builder: fall back to release profile for unknown pro…

Runtime

  • [P] ✅ trivial #4360 - Impose new restrictions on paras init and cleanup
  • [S] ✅ trivial #10043 - Fix order of hook execution
  • [S] ✅ audited #10347 - Allow configuration option for minimum commission of validat…
  • [P] ✅ trivial #4452 - Restore rococo <> wococo bridges (headers + messages)
  • [S] ✅ trivial #10082 - Contracts: add storage deposits
  • [S] ✅ audited #10309 - Add child-bounties pallet.
  • [S] ✅ audited #9829 - Add extrinsic to improve position in a bag of bags-list
  • [S] #10413 - Introduce checknonzerosender
  • [P] ✅ trivial #4420 - Pvf-precheck: update configuration module
  • [S] ✅ audited #10382 - Insufficient asset quota and deposits
  • [S] ✅ audited #10443 Low - Bounties - reset curator deposit when curator unassigns them…
  • [S] ✅ audited #10356 - Preimage registrar and scheduler integration
  • [P] ✅ trivial #4233 - Do not allow death on crowdloan contribute + introduce `co…
  • [S] #10403 - Remove default bound for accountid
  • [P] ✅ audited #4470 - Reanchor should return canonical location
  • [S] ✅ audited #10485 - Fix update_lock
  • [S] ✅ trivial #10481 - Emit contractreverted error when revert flag is set
  • [P] ✅ trivial #4401 - Add encointer as trustedteleporter to kusama
  • [P] ✅ audited #4457 - Pvf-precheck: integrate pvf pre-checking into paras module
  • [P] ⏳ pending non-critical audit #4540 - Parachains: fix configuration module
  • [S] ⏳ pending non-critical audit #9732 Low - Inner hashing of value in state trie (runtime versioning).
  • [P] ⏳ pending non-critical audit #4545 Low - Session-info: add new fields + migration
  • [P] ⏳ pending non-critical audit #4581 - Configuration: unified consistency checks
  • [P] ⏳ pending non-critical audit #4653 - Fully enable bags-list pallet in polkadot runtime
  • [S] ✅ trivial #10497 - Add additionally functionality to contracts storage interfac…
  • [S] ⏳ pending non-critical audit #10620 - Reset events before apply runtime upgrade
  • [P] ✅ trivial #4683 - Paras: add runtime events for pvf pre-checking
  • [S] ✅ audited #10646 - Use free balance rather than total balance for elections phr…
  • [P] #4490 - Fix pallet_xcm::execute
  • [S] ✅ trivial #10689 - Allow the treasury to have a maximum bound on the bond
  • [S] ✅ trivial #10592 - Improve usability of add+list_benchmark!
  • [S] ✅ trivial #10662 Low - Require maxencodedlen per default
  • [P] ⏳ pending non-critical audit #3876 - Hrmp benchmarks
  • [S] ✅ trivial #10715 - Add maxencodelen to implement_per_thing!
  • [S] ✅ trivial #10692 Low - Optimized weights
  • [S] ✅ audited #10663 - Better way to resolve phase::emergency via governance
  • [S] ✅ trivial #10728 - Fix lazy batch contract removal
  • [P] ✅ trivial #4831 - Bump transaction_version for polkadot, kusama, & westend

Misc

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

Other misc. changes
  • [P] ✅ trivial #4360 - Impose new restrictions on paras init and cleanup
  • [P] ✅ trivial #4364 - Treat non-deterministic prep errors as internal errors
  • [S] ✅ trivial #10043 - Fix order of hook execution
  • [S] ✅ audited #10347 - Allow configuration option for minimum commission of validat…
  • [S] #10419 - No longer include :code and :heappages in execution proofs
  • [S] ✅ trivial #10372 - Allow try-runtime and testexternalities to report pov size
  • [S] ✅ trivial #10317 - Authentication of peerids in authority discovery records
  • [P] ✅ trivial #4452 - Restore rococo <> wococo bridges (headers + messages)
  • [S] ✅ trivial #10082 - Contracts: add storage deposits
  • [S] ✅ audited #10309 - Add child-bounties pallet.
  • [S] ✅ audited #9829 - Add extrinsic to improve position in a bag of bags-list
  • [S] #10413 - Introduce checknonzerosender
  • [P] ✅ trivial #4420 - Pvf-precheck: update configuration module
  • [S] #9543 - Remove prometheus metrics prefix
  • [P] #4342 - Cli: introduce host-perf-check command
  • [S] ✅ audited #10382 - Insufficient asset quota and deposits
  • [S] ✅ audited #10443 Low - Bounties - reset curator deposit when curator unassigns them…
  • [S] ✅ trivial #10454 - Automatically unsubscribe storage listeners when they're dro…
  • [S] ✅ audited #10356 - Preimage registrar and scheduler integration
  • [P] ✅ trivial #4233 - Do not allow death on crowdloan contribute + introduce `co…
  • [S] #10403 - Remove default bound for accountid
  • [P] ✅ audited #4470 - Reanchor should return canonical location
  • [S] ✅ audited #10485 - Fix update_lock
  • [S] ✅ trivial #10481 - Emit contractreverted error when revert flag is set
  • [P] ✅ trivial #4401 - Add encointer as trustedteleporter to kusama
  • [S] ✅ trivial #10440 - Add logger configuration hook
  • [P] ⏳ pending non-critical audit #4483 - Add support for wasm runtime metrics try #2
  • [P] ✅ audited #4457 - Pvf-precheck: integrate pvf pre-checking into paras module
  • [P] #4541 - Dispute statements node side limiting
  • [P] #4464 - Enable disputes for known chains, except for polkadot
  • [P] ✅ trivial #4059 - Create a readme for xcmv2 detailing notable changes
  • [S] ✅ trivial #9940 - Add classaccount storage to unique pallet
  • [S] ✅ trivial #10509 - Slotduration: always fetch the slot duration from the runtim…
  • [P] ⏳ pending non-critical audit #4540 - Parachains: fix configuration module
  • [S] ✅ trivial #10524 - Add iter_from to countedmap
  • [S] ✅ trivial #10521 - Customizable ink address
  • [P] #4594 ‼️ HIGH - Fix checking for the parachainhost runtime api
  • [S] ⏳ pending non-critical audit #9732 Low - Inner hashing of value in state trie (runtime versioning).
  • [P] ⏳ pending non-critical audit #4545 Low - Session-info: add new fields + migration
  • [P] ⏳ pending non-critical audit #4581 - Configuration: unified consistency checks
  • [P] ⏳ pending non-critical audit #4583 - Configuration: validation_upgrade_delay consistency
  • [P] ⏳ pending non-critical audit #4653 - Fully enable bags-list pallet in polkadot runtime
  • [S] ✅ trivial #10463 - Name changes for grandpa and beefy notifications protocols
  • [P] ✅ audited #4643 - Pvf-precheck: pvf pre-checker subsystem
  • [S] ✅ trivial #10497 - Add additionally functionality to contracts storage interfac…
  • [S] #10600 - Code-substitute: switch from block_hash to block_number
  • [S] ⏳ pending non-critical audit #10620 - Reset events before apply runtime upgrade
  • [P] ✅ trivial #4683 - Paras: add runtime events for pvf pre-checking
  • [P] ✅ trivial #4332 - Add fast-runtime cargo feature for quick test runs
  • [S] ✅ audited #10646 - Use free balance rather than total balance for elections phr…
  • [S] ✅ trivial #10659 - Increase default rocksdb cache size
  • [S] ⏳ pending non-critical audit #10493 - Add feature: no-metadata-doc which removes doc from metada…
  • [S] ✅ trivial #10677 - Bench/cli: extend --extrinsic name filtering
  • [P] #4490 - Fix pallet_xcm::execute
  • [S] #10688 - Split peer slots between full and light nodes
  • [S] ✅ trivial #10689 - Allow the treasury to have a maximum bound on the bond
  • [S] ✅ trivial #10592 - Improve usability of add+list_benchmark!
  • [S] ✅ trivial #10662 Low - Require maxencodedlen per default
  • [P] ⏳ pending non-critical audit #3876 - Hrmp benchmarks
  • [S] ✅ trivial #10715 - Add maxencodelen to implement_per_thing!
  • [S] ✅ trivial #10692 Low - Optimized weights
  • [S] ✅ audited #10663 - Better way to resolve phase::emergency via governance
  • [S] #10639 - Add stale branches heads to finality notifications
  • [S] ✅ trivial #10728 - Fix lazy batch contract removal
  • [S] ✅ trivial #10775 - Wasm-builder: fall back to release profile for unknown pro…
  • [P] ✅ trivial #4831 - Bump transaction_version for polkadot, kusama, & westend