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

Polkadot v0.9.17

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Feb 19:11
de0ecd4

This release contains the changes from refs/tags/v0.9.16 to HEAD.

Global Priority

Low: This is a low priority release and you may upgrade at your convenience.

The changes motivating this priority level are:

  • [S] ✅ trivial #10692 Low - Optimized weights (RUNTIME)
  • [S] ✅ trivial #10741 - Add a new host function for reporting fatal errors

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)

Breaking CLI changes

--reserved-nodes may no longer take multiple multiaddress items and only exactly one multiaddress must follow --reserved-nodes. In order to specify several reserved nodes, then --reserved-nodes must appear on the command line before each reserved node's multiaddress.

I.e. if you originally did:

polkadot --reserved-nodes $NODE1 $NODE2 $NODE3

Then you must now write:

polkadot --reserved-nodes $NODE1 --reserved-nodes $NODE2 --reserved-nodes $NODE3

Also, arguments are now case-sensitive, so you must use the case as given in the --help message. E.g. if you originally did:

polkadot --sync=warp

Then you must now do:

polkadot --sync=Warp

Migrations

  • [P] #4772 - Allow two parachains to swap

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 (1307941 bytes)
🔥 Core Version:		kusama-9170 (parity-kusama-0.tx10.au2)
🗜 Compressed:			Yes: 80.95%
🎁 Metadata version:		V14
🗳️ system.setCode hash:		0x38638649367d1cbe0f00cffd7fa1c6f363f4f81521f4872e64ec7038da4ffc21
🗳️ authorizeUpgrade hash:	0xbe14556138605640c0fd79aa162d316a97be4c1efd565a62468cf9cd8403490e
#️⃣ Blake2-256 hash:		0xb07f8ccaaf2c4c1e00f34963c6eb038cb28bddc74670c1a6cac4e0ab9dd03083
📦 IPFS:			QmcYJofL65tdz18ivkP89eNidnFXdHzFyi7Qk4BuC62Z7T

Polkadot

🏋️ Runtime Size:		1.11 MB (1162748 bytes)
🔥 Core Version:		polkadot-9170 (parity-polkadot-0.tx11.au0)
🗜 Compressed:			Yes: 80.95%
🎁 Metadata version:		V14
🗳️ system.setCode hash:		0x8eb2806cbdf1a4ba91334669b2476870134db3af5c77f418152af0ad354d3b32
🗳️ authorizeUpgrade hash:	0xebb7c0bcfc944adefac3c272cdc3ded97f23d395513f418ae1eda4a77e25ea73
#️⃣ Blake2-256 hash:		0xab9d4f920cc5879624705f6db16dbd2c61628f8d29655c26f790630ca76a66c2
📦 IPFS:			QmPYh56SgUAkmDm4CqSdG3c47PHVCRXY3zqM5A9ARxrdod

Westend

🏋️ Runtime Size:		1.08 MB (1132636 bytes)
🔥 Core Version:		westend-9170 (parity-westend-0.tx10.au2)
🗜 Compressed:			Yes: 81.41%
🎁 Metadata version:		V14
🗳️ system.setCode hash:		0xecfe1eb445628f4dcad3a8aea98bdd4f890370eb71ac9bdccf1cc041b35cb3c0
🗳️ authorizeUpgrade hash:	0xfae693ecfef403b3b8c409b9f34b01ab1ef0e3ef0c6d96e6defa4b9571eeb784
#️⃣ Blake2-256 hash:		0xcc7f7297da7512cd0c5f42b758e642069cd37821341378fe151d5c9140bdeac1
📦 IPFS:			QmTEy9SVdvg7JDGkJZzadhN4ZnPkvyqj21YQzF5Xqt2R3J

Changes

Legend

  • [P] Polkadot
  • [S] Substrate

Client

  • [S] ✅ trivial #10771 - Bench-cli: support json output
  • [S] ✅ trivial #10741 - Add a new host function for reporting fatal errors; make was…
  • [S] #10832 - Mark sync_state_gensyncspec json-rpc as safe

Runtime

  • [P] #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
  • [S] ✅ trivial #10789 - Contracts: is_contract(address) and caller_is_origin() a…
  • [S] ✅ trivial #10195 - Referenda and conviction voting pallets
  • [S] ✅ trivial #10617 - seal_delegate_call api function (support for library contr…
  • [S] ⏳ pending non-critical audit #10786 - Pallet-staking: add extrinsic force_apply_min_commission
  • [S] ✅ trivial #10690 - Upgradable contracts using set_code function
  • [P] #4772 - Allow two parachains to swap
  • [P] ⏳ pending non-critical audit #4851 - Add proxy type for kappa sigma mu

Misc

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

Other misc. changes
  • [P] #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
  • [S] ✅ trivial #10771 - Bench-cli: support json output
  • [S] ✅ trivial #10789 - Contracts: is_contract(address) and caller_is_origin() a…
  • [S] ✅ trivial #10195 - Referenda and conviction voting pallets
  • [S] ✅ trivial #10617 - seal_delegate_call api function (support for library contr…
  • [S] ✅ trivial #10741 - Add a new host function for reporting fatal errors; make was…
  • [S] ⏳ pending non-critical audit #10786 - Pallet-staking: add extrinsic force_apply_min_commission
  • [S] ✅ trivial #10690 - Upgradable contracts using set_code function
  • [S] ✅ audited #10473 - Fix reentrancy of frozenbalance::died hook
  • [P] #4772 - Allow two parachains to swap
  • [P] ⏳ pending non-critical audit #4851 - Add proxy type for kappa sigma mu
  • [S] #10832 - Mark sync_state_gensyncspec json-rpc as safe
  • [P] #4914 - Revert "collator-protocol: short-term fixes for connectivity…