github paritytech/polkadot-sdk polkadot-stable2412-5
Polkadot stable2412-5

latest releases: polkadot-stable2509-rc1, polkadot-stable2506-2, polkadot-stable2506-2-rc1...
4 months ago

This release contains the changes from polkadot-stable2412-4 to polkadot-stable2412-5.

ℹ️ Please note:

⚠️ This is a patch release for the stable version: stable2412 and contains only patches and fixes to the crates (list below). No binary or docker images will be provided for this release.

The tag corresponding to the current patch release polkadot-stable2412-5 and matching the old pattern will be available under polkadot-v1.17.5.

The following crates were updated to the corresponding versions:

- sp-io@39.0.
- substrate-wasm-builder@25.0.1
- pallet-nomination-pools@37.0.2
- staging-xcm-builder@18.2.0
- pallet-multisig@39.1.1
- pallet-nomination-pools-runtime-api@35.0.1
- pallet-xcm-benchmarks@18.1.1
- snowbridge-core@0.12.2
- snowbridge-pallet-system@0.12.2
- people-westend-runtime@0.13.2
- asset-hub-rococo-runtime@0.24.3
- asset-hub-westend-runtime@0.27.3
- bridge-hub-rococo-runtime@0.18.4
- bridge-hub-westend-runtime@0.15.4

Changelog

Changelog for Node Dev

ℹ️ These changes are relevant to: Those who build around the client side code. Alternative client builders, SMOLDOT, those who consume RPCs. These are people who are oblivious to the runtime changes. They only care about the meta-protocol, not the protocol itself.

Changelog for Runtime Dev

ℹ️ These changes are relevant to: All of those who rely on the runtime. A parachain team that is using a pallet. A DApp that is using a pallet. These are people who care about the protocol (WASM, not the meta-protocol (client).)

[#8210]: [xcm-builder][origin_conversion] LocationAsSuperuser converter introduced

Introduces a LocationAsSuperuser struct that implements ConvertOrigin to allow specific Locations defined through XCM configuration to act as Root on the local chain. Implementation is generic over Location but was created for purposes of allowing AssetHub system chain (by other system chains and relay chains) to execute Root level extrinsics like authorize_upgrade on them.

[#8198]: Remove #[no_mangle] from the panic handler

Fixes #8190

Remove useless #[no_mangle] from the panic handler which screws up the panic handling machinery on recent versions of Rust.

[#8335]: Backport fix for pallet-multisig benchmarks

Fixes the benchmarks for pallet-multisig that generates incompatible weights for stable2412.

[#8174]: Fix version conversion in XcmPaymentApi::query_weight_to_asset_fee.

The query_weight_to_asset_fee function of the XcmPaymentApi was trying
to convert versions in the wrong way.
This resulted in all calls made with lower versions failing.
The version conversion is now done correctly and these same calls will now succeed.

[#8156]: bp-runtime: make macro expansion not rely on sp-std in scope.

Make macro in bp-runtime no longer require sp-std in scope.

[#8258]: [stable2412] Backport Snowbridge - Update TransferToken command gas limit.

Transfering certain ERC20 tokens require more gas than 100_000 gas. An example is LDO token which requires 140_000 gas.
This change updates the gas limit to 200_000 and also updates the default fees for testnet runtimes.
NOTE: make sure to update the relevant runtime fees to account for this change.

[#8081]: Add expensive scenario for asset exchange

This PR introduces an implementation for worst_case_asset_exchange() in the AssetHubWestend benchmarking setup.

[#8194]: xcm: minor fix for compatibility with V4

Following the removal of Rococo, Westend and Wococo from NetworkId, fixed xcm::v5::NetworkId encoding/decoding to be compatible with xcm::v4::NetworkId

Changelog for Node Operator

ℹ️ These changes are relevant to: Those who don't write any code and only run code.

Changelog for Runtime User

ℹ️ These changes are relevant to: Anyone using the runtime. This can be a token holder or a dev writing a front end for a chain.

[#6540]: Only allow apply slash to be executed if the slash amount is atleast ED

This change prevents pools::apply_slash from being executed when the pending slash amount of the member is lower
than the ED. With this change, such small slashes will still be applied but only when member funds are withdrawn.

[#8194]: xcm: minor fix for compatibility with V4

Following the removal of Rococo, Westend and Wococo from NetworkId, fixed xcm::v5::NetworkId encoding/decoding to be compatible with xcm::v4::NetworkId

Rust compiler versions

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

  • Rust Stable: 1.81.0

Don't miss a new polkadot-sdk release

NewReleases is sending notifications on new releases.