Skip to content

Polkadot v1.4.0

Compare
Choose a tag to compare
@coderobe coderobe released this 22 Nov 15:36
· 1 commit to release-polkadot-v1.4.0 since this release
fcfdb98

This release contains the changes from v1.3.0 to v1.4.0.

⚠️Note:
There is a known bug which leads to the following error messages in logs:

Nov 21 13:37:34.593 ERROR parachain::pvf: 🚨 Your system cannot securely run a validator. 
Running validation of malicious PVF code has a higher risk of compromising this machine.
  - Cannot unshare user namespace and change root, which are Linux-specific kernel security features: not available: Nov 21 13:37:34.582 TRACE parachain::pvf-common: unsharing the user namespace and calling pivot_root worker_kind=check pivot root worker_pid=1562989 worker_dir_path="/tmp/.tmpxnRzK7/check-can-unshare4LXkykVpKt"
mount MS_BIND: No such file or directory (os error 2)
Nov 21 13:37:34.594 ERROR parachain::pvf: In the next release this will be a hard error by default.
     
More information: https://wiki.polkadot.network/docs/maintain-guides-secure-validator#secure-validator-mode

This error will be fixed with the next release and can be ignored for now. NOTE: after this release, this error should be treated as legitimate!

Rust compiler versions

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

Rust Stable: rustc 1.73.0 (cc66ad468 2023-10-03)
Rust Nightly: rustc 1.71.0-nightly (8b4b20836 2023-05-22)

Runtimes

Westend

🏋️ Runtime size:             1.553 MB (1,628,062 bytes)
🗜 Compressed:               Yes, 78.96%
✨ Reserved meta:            OK - [6D, 65, 74, 61]
🎁 Metadata version:         V14
🔥 Core version:             westend-104000 (parity-westend-0.tx24.au2)
🗳️ system.setCode hash:      0xa9a52c656042b91ca12cb8dccc1bc5e92d03da487b9663ff5dafd1700dfb6096
🗳️ authorizeUpgrade hash:    0x1821223e153c195ed532b83f42516a3a7b6a7b7c657e1dd92c3de87cc87fe304
🗳️ Blake2-256 hash:          0x30c74d79432c1f7e1b298d224de69ffd2b859b8f217e9795e994941885861536
📦 IPFS:                     https://www.ipfs.io/ipfs/QmcvZp8MtZo6qXrY2mVE3GgsXPEUxiH4jnrYgK3MsBGhgw

Westend AssetHub

🏋️ Runtime size:             1.057 MB (1,108,101 bytes)
🗜 Compressed:               Yes, 80.33%
✨ Reserved meta:            OK - [6D, 65, 74, 61]
🎁 Metadata version:         V14
🔥 Core version:             westmint-1004000 (westmint-0.tx13.au1)
🗳️ system.setCode hash:      0xba78e38a5b6f80a13cb84672fad9916498a812ea0a20032ffbf7caf7337dbe97
🗳️ authorizeUpgrade hash:    0x39eb4f1ba6c243489dea4a88ee95b591be3690866f3f527f90d6e0899ab6f0e7
🗳️ Blake2-256 hash:          0x5683cda6f6ee9714ce0a902166f2e51d18dac171d69cf62039766500039632be
📦 IPFS:                     https://www.ipfs.io/ipfs/QmQAssmKkpN6knkPMse46XhaXeVH1whenAGz9nLFx4mSW4

Westend BridgeHub

🏋️ Runtime size:             0.902 MB (945,847 bytes)
🗜 Compressed:               Yes, 78.27%
✨ Reserved meta:            OK - [6D, 65, 74, 61]
🎁 Metadata version:         V14
🔥 Core version:             bridge-hub-westend-1004000 (bridge-hub-westend-0.tx3.au1)
🗳️ system.setCode hash:      0x86e9152b994c0ffbadf04849bf97558b8353349c80f9ac2e871e5b612a8489fb
🗳️ authorizeUpgrade hash:    0x7f43145d8981e157ce53b3cc2a961acb6c7c34071a19c37b75b7f109037e4d8c
🗳️ Blake2-256 hash:          0xf7be0db77d2a1d0725d79723a8283ece4c22918c581d2a0acdab00002281443d
📦 IPFS:                     https://www.ipfs.io/ipfs/QmaxUt3RBFndASJH3nLrZ6jU7WBs8177ctvrHm5rodZm1A

Rococo

🏋️ Runtime size:             1.407 MB (1,474,824 bytes)
🗜 Compressed:               Yes, 79.50%
✨ Reserved meta:            OK - [6D, 65, 74, 61]
🎁 Metadata version:         V14
🔥 Core version:             rococo-104000 (parity-rococo-v2.0-0.tx24.au0)
🗳️ system.setCode hash:      0x5191e393032d0a69de99f03b19ed0ef3d7d09dcaa3a36fad2d3e555d3cd9c7ee
🗳️ authorizeUpgrade hash:    0x858f9aedb4e3dc2509e864d4e3cc610fdff65dd5036f653ed14f1c752dc889e7
🗳️ Blake2-256 hash:          0x93394d999fd78356405150e5009a5602f64474577d901a9ee38f4b9beed73521
📦 IPFS:                     https://www.ipfs.io/ipfs/QmVJjc1uzW2NMVeYFR5oSdFxZ4k8HdqtnnaigDJ4dSPKpQ

Rococo AssetHub

🏋️ Runtime size:             1.061 MB (1,112,699 bytes)
🗜 Compressed:               Yes, 80.30%
✨ Reserved meta:            OK - [6D, 65, 74, 61]
🎁 Metadata version:         V14
🔥 Core version:             statemine-1004000 (statemine-0.tx13.au1)
🗳️ system.setCode hash:      0x308362ce586db9a753d9b27cb93d071573a6544c936150d2590c3359507e0ede
🗳️ authorizeUpgrade hash:    0x707c7ff0530d297fb95e8a236da7404e762f214831bd893fc0b849ddb1aab1e0
🗳️ Blake2-256 hash:          0x3ac371993362c31429a330686c2937ff5ac61f59d431938e649dd1fdf9589d29
📦 IPFS:                     https://www.ipfs.io/ipfs/QmYRmwqynhNjaUXYLMLd3C231Kz4UQXHHp2ZE9gWMnbZTK

Rococo BridgeHub

🏋️ Runtime size:             0.899 MB (942,681 bytes)
🗜 Compressed:               Yes, 78.32%
✨ Reserved meta:            OK - [6D, 65, 74, 61]
🎁 Metadata version:         V14
🔥 Core version:             bridge-hub-rococo-1004000 (bridge-hub-rococo-0.tx3.au1)
🗳️ system.setCode hash:      0x83986f8e632844f4e6e798f421654c4b0d1a30e0331275856e058d780fb3fee5
🗳️ authorizeUpgrade hash:    0x1d283f7e455f1f8c6b29eee34c1bc77dba08e5423718e6a8995fc0d45fb5645f
🗳️ Blake2-256 hash:          0x4d383a4a92d768e439889a7be97e2b39803c5879ee1fbdc612a4e43c65404da6
📦 IPFS:                     https://www.ipfs.io/ipfs/QmZxxe6xAGz9ncgAfYSf3y7p7vENXbAFoziZ4uUTzzqxFv

Collectives Westend

🏋️ Runtime size:             0.935 MB (980,908 bytes)
🗜 Compressed:               Yes, 79.55%
✨ Reserved meta:            OK - [6D, 65, 74, 61]
🎁 Metadata version:         V14
🔥 Core version:             collectives-westend-1004000 (collectives-westend-0.tx5.au1)
🗳️ system.setCode hash:      0x0e9da32eea28d73e13d59cc52e646f1b47cefc10eaed8316f872a7222050bc9f
🗳️ authorizeUpgrade hash:    0xc2b540f08e23948b36a80a3d802a6eba57beaaa83f4b276d47dd555ff32f7f86
🗳️ Blake2-256 hash:          0x26e9a98d2a80d13f01e31f3c504aa3b5dcd7430b26a322c4ed3f208a51f08532
📦 IPFS:                     https://www.ipfs.io/ipfs/QmZwtVZgBFd3kdyM4CiLtnnoqo9YQm3uD445DYqqbMWt4P

Glutton Westend

🏋️ Runtime size:             0.505 MB (529,946 bytes)
🗜 Compressed:               Yes, 76.37%
✨ Reserved meta:            OK - [6D, 65, 74, 61]
🎁 Metadata version:         V14
🔥 Core version:             glutton-westend-1004000 (glutton-westend-0.tx1.au1)
🗳️ system.setCode hash:      0xb9166746dcbc22df6af8fb357c28b15734e587c123b9af9f8ce0315b8cc34fda
🗳️ authorizeUpgrade hash:    0x4df20ab0d4edca473a09335bdf0c711987cdd5b4543c8ebc746ce95c046f2706
🗳️ Blake2-256 hash:          0x676bdd85f03704142655d6f578515047071448cc5b15f88ccd481851757a1228
📦 IPFS:                     https://www.ipfs.io/ipfs/QmUYPnrFYr5fnqGZ2YMN8Gf7PxvdzSU5u4Z3yRT9dpCSaw

Changes

Node & Polkadot

  • level-monitor: Fix issue with warp syncing (#2053 @bkchr) [Node]
  • Improve Client CLI help readability (#2073 @davxy) [Node]
  • Switch from tiny-bip39 to bip39 crate (#2084 @michalkucharczyk) [Node]
  • PVF worker: Add seccomp restrictions (restrict networking) (#2009 @mrcnski) [Node]
  • Elliptic curves utilities refactory (#2068 @davxy) [Node]
  • Move syncing code from sc-network-common to sc-network-sync (#1912 @dmitry-markin) [Node]
  • [NPoS] Paging reward payouts in order to scale rewardable nominators (#1189 @Ank4n) [Polkadot]
  • Bandersnatch dependency update (#2114 @davxy) [Node]
  • sc-block-builder: Remove BlockBuilderProvider (#2099 @bkchr) [Node]
  • Breaking Change chain-spec: getting ready for native-runtime-free world (#1256 @michalkucharczyk) [Node, Runtime API]
  • approval-voting improvement: include all tranche0 assignments in one certificate (#1178 @sandreim) [Polkadot]
  • minor: overseer availability-distribution message declaration update (#2179 @alindima) [Node, Polkadot]
  • Disable incoming light-client connections for minimal relay node (#2202 @skunert) [Node]
  • Refactor candidate validation messages (#2219 @s0me0ne-unkn0wn) [Node]
  • sc-chain-spec: add support for custom host functions (#2190 @michalkucharczyk) [Node]
  • sc-state-db: Keep track of LAST_PRUNED after warp syncing (#2228 @bkchr) [Node]
  • PVF host: Make unavailable security features print a warning (#2244 @mrcnski) [Node]
  • Fix ecdsa_bls verify in BEEFY primitives (#2066 @drskalman) [Node]
  • PVF: fix detection of unshare-and-change-root security capability (#2304 @mrcnski) [Node]
  • change prepare worker to use fork instead of threads (#1685 @jpserrat) [Node]
  • statement-distribution: support inactive local validator in grid (#1571 @slumber) [Node]
  • add NodeFeatures field to HostConfiguration and runtime API (#2177 @alindima) [Polkadot, Runtime API]
  • Tracking/limiting memory allocator (#1192 @s0me0ne-unkn0wn) [Polkadot]

Frame & Pallets

  • Breaking Change Expose collection attributes from Inspect trait (#1914 @dastansam) [Pallets, Runtime API]
  • add authorities_len for aura (#2040 @yjhmelody) [Frame]
  • fix(frame-benchmarking-cli): Pass heap_pages param to WasmExecutor (#2075 @ukint-vs) [Frame]
  • Improve try-state developer experience & fix bug (#2019 @liamaharon) [Frame]
  • Stop Balances pallet erroneously double incrementing and decrementing consumers (#1976 @liamaharon) [Frame]
  • contracts migration: remove unnecessary panics (#2079 @liamaharon) [Frame]
  • Refactor transaction storage pallet to use fungible traits (#1800 @acatangiu) [Pallets]
  • parachain-system: Send same event & digest as a standalone chain (#2064 @bkchr) [Frame]
  • [NPoS] Paging reward payouts in order to scale rewardable nominators (#1189 @Ank4n) [Frame]
  • Short-circuit fungible self transfer (#2118 @ggwpez) [Frame]
  • Create new trait for non-dedup storage decode (#1932 @0xmovses) [Frame]
  • Identity pallet improvements (#2048 @georgepisaltu) [Pallets]
  • Add force remove vesting (#1982 @0xmovses) [Pallets]
  • TryDecodeEntireState check for storage types and pallets (#1805 @PieWol) [Frame]
  • Initialise on-chain StorageVersion for pallets added after genesis (#1297 @liamaharon) [Frame]
  • feat(frame-support-procedural): add automaticaly_derived attr to NoBound derives (#2197 @benluelo) [Frame]
  • Add sudo::remove_key (#2165 @ggwpez) [Pallets]
  • [pallet-message-queue] Implement impl_trait_for_tuples for QueuePausedQuery (#2227 @vgeddes) [Frame]
  • Improve VersionedMigration naming conventions (#2264 @liamaharon) [Frame]
  • pallet-grandpa: Remove GRANDPA_AUTHORITIES_KEY (#2181 @bkchr) [Frame]
  • Adds syntax for marking calls feeless (#1926 @gupnik) [Frame]
  • pallet-xcm: enhance reserve_transfer_assets to support remote reserves (#1672 @acatangiu) [Pallets]
  • Add simple collator election mechanism (#1340 @georgepisaltu) [Pallets]

Tests, Benchmarks & Documentation

  • Improve FRAME storage docs (#1714 @wentelteefje) [Documentation]
  • Speed up try runtime checks for pallet-bags-list (#2151 @Ank4n) [Tests]
  • Speed up nominator state checks in staking pallet (#2153 @Ank4n) [Tests]
  • [xcm-emulator] Chains generic over Network & Integration tests restructure (#2092 @NachoPal) [Tests]
  • Build workers for testing on demand (#2018 @eagr) [Tests]

XCM, Bridges & Misc

  • Direct XCM ExportMessage fees for different bridges to different receiver accounts (#2021 @serban300) [XCM, Bridges]
  • Make ExecResult encodable (#1809 @pmikolajczyk41) [Smart contracts]
  • XCM MultiAssets: sort after reanchoring (#2129 @serban300) [XCM]
  • Use Message Queue as DMP and XCMP dispatch queue (#1246 @ggwpez) [XCM, Frame]
  • XCM builder pattern (#2107 @franciscoaguirre) [XCM]
  • Remove unnecessary map_error (#2239 @KiChjang) [XCM]
  • Contracts: Add XCM traits to interface with contracts (#2086 @pgherveou) [XCM]
  • pallet-xcm: enhance reserve_transfer_assets to support remote reserves (#1672 @acatangiu) [XCM]
  • Fix expect_pallet benchmarks not relaying on hard-coded frame_system dependency version (#2288 @bkontur) [XCM]
  • Contracts expose pallet-xcm (#1248 @pgherveou) [XCM, Smart Contracts]
  • wasm-builder: Optimize rerun-if-changed logic (#2282 @bkchr) [Node]

Parachains & Cumulus

  • [testnet] Align testnet system parachain runtimes using RelayTreasuryLocation and SystemParachains in the same way (#2023 @bkontur) [Cumulus]
  • [testnet] Add AssetHubRococo <-> AssetHubWestend asset bridging support (#1967 @bkontur) [Cumulus]
  • Disable incoming light-client connections for minimal relay node (#2202 @skunert) [Cumulus]
  • validate-block: Fix TrieCache implementation (#2214 @bkchr) [Cumulus]
  • Add prospective-parachain subsystem to minimal-relay-node + QoL improvements (#2223 @skunert) [Cumulus]
  • cumulus-pov-recovery: check pov_hash instead of reencoding data (#2287 @alindima) [Cumulus]
  • Identity Deposits Relay to Parachain Migration (#1814 @joepetrowski) [System Parachains]