Skip to content

Fix Polkadot and Kusama AH, RC, coretime, bridge-hub, people, glutton-kusama compilation for SDK 2512-1-rc1#1062

Merged
ggwpez merged 46 commits into
polkadot-fellows:pandres95-upgrade-to-stable2509from
sigurpol:sigurpol-fix-polkadot-and-kusama-ah-rc-compilation
Jan 26, 2026
Merged

Fix Polkadot and Kusama AH, RC, coretime, bridge-hub, people, glutton-kusama compilation for SDK 2512-1-rc1#1062
ggwpez merged 46 commits into
polkadot-fellows:pandres95-upgrade-to-stable2509from
sigurpol:sigurpol-fix-polkadot-and-kusama-ah-rc-compilation

Conversation

@sigurpol
Copy link
Copy Markdown
Contributor

@sigurpol sigurpol commented Jan 23, 2026

SDK 2512-1 API Changes Applied:

Runtime APIs (all runtimes):

  • execute_block(block: Block) → execute_block(block: ::LazyBlock)
  • check_inherents(block: Block, ...) → check_inherents(block: ::LazyBlock, ...)
  • query_delivery_fees(dest, msg) → query_delivery_fees(dest, msg, asset_id: VersionedAssetId) + AssetExchanger
  • dry_run_xcm::<Runtime, Router, Call, Config>(...) → dry_run_xcm::(...)

pallet_assets (asset-hubs, people-polkadot):

  • Added type ReserveData = ();
  • Added BenchmarkHelper::create_reserve_id_parameter() stub
  • Added set_reserves() weight stub

pallet_election_provider_multi_block (asset-hubs):

  • Renamed manage() → manage_fallback()
  • Added admin_set() weight stub

Relay chains (polkadot, kusama):

  • Updated vstaging API functions to use parachains_runtime_api_impl
  • Changed generate_ancestry_proof return type to mmr::AncestryProofmmr::Hash

bridge-hub-polkadot (Snowbridge):

  • Updated MessageToXcm v2: 10 → 8 generic params
  • Added CreateAssetCallInfo struct with set_reserves_call
  • Added AggregateMessageOrigin and OnNewCommitment config items

Weight stubs (all runtimes):

  • cumulus_pallet_xcmp_queue::take_first_concatenated_xcm(_n: u32)

Benchmarks to regenerate post-merge:

/cmd bench --runtime asset-hub-polkadot --pallet pallet_assets pallet_staking_async pallet_election_provider_multi_block
/cmd bench --runtime asset-hub-kusama --pallet pallet_assets pallet_staking_async pallet_election_provider_multi_block
/cmd bench --runtime people-polkadot --pallet pallet_assets                   

claravanstaden and others added 30 commits November 20, 2025 08:02
Updates to latest `unstable2507-2` to set Fulu hard-fork epoch. Only
BridgeHub will be released from this version.
Closes: polkadot-fellows#894

- [x] Does not require a CHANGELOG entry

Same trick as in paritytech/polkadot-sdk#10284,
if it works.
should close polkadot-fellows#894

---------

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: fellowship-merge-bot[bot] <151052383+fellowship-merge-bot[bot]@users.noreply.github.com>
…lows#1014)

The XCM Transact whitelist is too tight with reports from ecosystem of
broken usecases. Pool assets don't make sense to be moved crosschain so
remove that transactor and simplify the code a bit.

---------

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Needs enactment on PBH before 3 Dec.

---------

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Integrate a generic review bot for new PR. It can also be dispatched
manually in actions.

Future tasks:
- command bot integration so non github org users can request review
- polkadot-sdk specific prompts

<!-- Remember that you can run `/merge` to enable auto-merge in the PR
-->

<!-- Remember to modify the changelog. If you don't need to modify it,
you can check the following box.
Instead, if you have already modified it, simply delete the following
line. -->

- [x] Does not require a CHANGELOG entry

---------

Co-authored-by: fellowship-merge-bot[bot] <151052383+fellowship-merge-bot[bot]@users.noreply.github.com>
)

This PR adds weight reclaim to Kusama system chains. Part of polkadot-fellows#494.

Originally we were hoping for quick fixing of
paritytech/polkadot-sdk#6020, but it has
proven to be quite tricky. The risk of overshooting in reality is low
though, since we still have configurable training wheels in place (PoV
size capped at 80% by default).

---------

Co-authored-by: GitHub Action <action@github.com>
Modify asset-hub-kusama to use the read/write costs computed in validate
block on validator reference hardware, since these are weights that
guarantee the blocks will pass validation and make it on the relay
chain.

This were obtained with the benchmark created here:
paritytech/polkadot-sdk#8069.

Part of: polkadot-fellows#800

---------

Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
…ion from 4 to 100 DOT (polkadot-fellows#1022)

On Polkadot AH, we are currently allowing `MaxSignedSumbissions=16` to
be submitted during `Signed` phase of a NPoS election.
The last submission will cost `4 * 2**15 = 131072 DOT` and the sum of
all 16 solutions will cost `4 * (2**16 - 1) = 262140 DOT`, which makes a
transaction spamming attack expensive but not prohibitive.

We now increase the base deposit from 4 to 100 DOT increasing the cost
of the attack by factor 25. This doesn't disincentivize community
participation but significantly reduces the spamming attack vector risk
to minimum.

It's worth mentioning that an attacker, aside from wasting a
considerable amount of DOT, wouldn't gain anything from the attack. If
no valid submission is made during the Signed phase, we will select the
solution produced by OCW during the Unsigned phase. Therefore, the net
result of the attack would be a slightly suboptimal but still decent
solution compared to the one offered by the legitimate miner.

Note that for Kusama the deposit is set to `0.1 * 4^N` with again at
most 16 solutions, meaning the spamming attack cost is `0.1 * 4 ^15 =
107374182.4 KSM` so already insanely high, no changes are needed for
Kusama.

Fix paritytech/srlabs_findings#510.

---------

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
- Fixed ecosystem test CI flow (added npm, yarn)
- Added yarn install via npm to install-deps.sh

- [X] Does not require a CHANGELOG entry

---------

Co-authored-by: Bastian Köcher <git@kchr.de>
Fixed the regression in the doc-test introduced by PR polkadot-fellows#1022, where we
changed the base deposit from 4 to 100 DOT.

---------

Co-authored-by: Bastian Köcher <git@kchr.de>
This PR makes the following changes to OpenGov parameters:

#### All tracks

- Increase submission deposit for all tracks
- Decrease undeciding timeout for all tracks

#### Treasurer

- Max deciding, decreased from 10 to 2
- Decision Deposit, increased from 1,000 to 25,000 DOT
- Min Support Turn Out increased from 0% to 1%

#### Small spender

- Max deciding decreased from 50 to 5
- Decision deposit increased from 100 to 500 DOT
- Min Support Turn Out increased from 0% to 0.5%

#### Medium spender

- Max deciding decreased from 50 to 5
- Decision deposit increase from 200 to 1,000
- Min Support Turn Out increased from 0% to 0.5%

#### Big Spender

- Max deciding decreased from 50 to 3
- Decision deposit increase from 400 to 5,000
- Min Support Turn Out increased from 0% to 0.75%

#### Referendum Canceller

- Max deciding decreased from 1,000 to 500
- Decision deposit decreased from 10,000 to 5,000

See [WFC 1701](https://polkadot.subsquare.io/referenda/1701) for more
information and motivation.

- [ ] Does not require a CHANGELOG entry

---------

Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
Co-authored-by: Bastian Köcher <git@kchr.de>
We only want to add a minimal change to test some Encointer democracy
features more quickly. Closes
encointer/encointer-parachain#254.

---------

Co-authored-by: Branislav Kontur <bkontur@gmail.com>
Remove treasury burns from Polkadot AssetHub.

See [associated
referendum](https://polkadot.subsquare.io/referenda/1781)
…CM V3 to V5 asset conversion (polkadot-fellows#1019)

Adds a local pay module implementation for Asset Hub Polkadot treasury
that supports XCM V3 to V5 conversion for asset transactions.

## Problem

Treasury spends with `AssetKind` in XCM V3 format are not getting
processed correctly, causing payout failures. The current paymaster
implementation doesn't handle XCM V3 to V5 conversion for asset
transactions.

## Solution

This PR introduces a local `LocalPay` implementation that:
- Converts XCM V3/V4 asset formats to V5 `Location` format

## Changes

- Added local `LocalPay` implementation with XCM version conversion
support (V3→V5)
- Updated treasury configuration (`TreasuryPaymaster`) to use the local
pay module
- Added changelog entry

## Temporary Implementation

This is a temporary solution to quickly enable V3 payouts. Once the XCM
V3 to V5 conversion support is added to polkadot-sdk and released, we
will revert to using the upstream module from the SDK.

polkadot-sdk issue to support for V3 to V5:
paritytech/polkadot-sdk#10581

Open Issue polkadot-fellows#1027 to remove the local pay implementation after the above
polkadot-sdk issue is resolved.

---------

Co-authored-by: Adrian Catangiu <adrian@parity.io>
Modify asset-hub-polkadot to use the read/write costs computed in
validate block on validator reference hardware, since these are weights
that guarantee the blocks will pass validation and make it on the relay
chain.

This were obtained with the benchmark created here:
paritytech/polkadot-sdk#8069.

Part of: polkadot-fellows#800

---------

Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
~~Use google/gemini-3-pro-preview~~
Use prompts from https://github.com/polka-codes/prompts

<!-- Remember that you can run `/merge` to enable auto-merge in the PR
-->

<!-- Remember to modify the changelog. If you don't need to modify it,
you can check the following box.
Instead, if you have already modified it, simply delete the following
line. -->

- [x] Does not require a CHANGELOG entry

---------

Co-authored-by: fellowship-merge-bot[bot] <151052383+fellowship-merge-bot[bot]@users.noreply.github.com>
The nodes are now expecting that this is enabled by default.

<!-- Remember that you can run `/merge` to enable auto-merge in the PR
-->

<!-- Remember to modify the changelog. If you don't need to modify it,
you can check the following box.
Instead, if you have already modified it, simply delete the following
line. -->

- [x] Does not require a CHANGELOG entry
Also puts a timeout onto `review-bot`.


- [x] Does not require a CHANGELOG entry

Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
This upgrades polkadot-sdk crates to the latest version of
`unstable2507`. The main change is the following backport:
paritytech/polkadot-sdk#10552.

This is an important step for upgrading the Kusama AH runtime to the
latest version of pallet-revive with:
- EVM backend
- Ethereum block storage
- New gas mapping

---------

Co-authored-by: Clara van Staden <claravanstaden64@gmail.com>
Co-authored-by: Alexander Theißen <alex.theissen@me.com>
…sama and enable buffered election (polkadot-fellows#1037)

This PR configures the AssetHubKusama runtime to utilize elastic scaling
with 3 cores.

- the runtime is prepared for elastic scaling with expected 2s block
times
- 3 cores will be assigned to AHK when we have sufficient confidence in
testing stacks
- AHK should function similarly with expected 6s block times until cores
are assigned

The PR also enables buffered export of the validator set to the Relay
Chain to handle block time changes from elastic scaling in KAH more
gracefully. Without this, era lengths can shrink when multiple cores are
used.

See paritytech/polkadot-sdk#10142.

---------

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Co-authored-by: Ankan <ankan.anurag@gmail.com>
Co-authored-by: Bastian Köcher <info@kchr.de>
With [Ref 1710 - Hard Pressure Capped & Stepped Supply
Schedule](https://polkadot.subsquare.io/referenda/1710) having passed,
we have here an implementation.

---

The code itself can be reasoned about in roughly 3 parts:
- A general stepped curve, asymptotic to some defined amount by moving a
percentage closer to that amount per step.
- The era_payout() usage of this stepped curve.
- New tests for the hard pressure inflation model, as well as some old
tests for the previous inflation model that didn't make their way over
to the AHM branch.

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Co-authored-by: Andrii <ndk@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Bastian Köcher <git@kchr.de>
Co-authored-by: Yuri Volkov <0@mcornholio.ru>
Co-authored-by: s0me0ne-unkn0wn <48632512+s0me0ne-unkn0wn@users.noreply.github.com>
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
Co-authored-by: Branislav Kontur <bkontur@gmail.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Muharem <ismailov.m.h@gmail.com>
Co-authored-by: Francisco Aguirre <franciscoaguirreperez@gmail.com>
Co-authored-by: Adrian Catangiu <adrian@parity.io>
Co-authored-by: fellowship-merge-bot[bot] <151052383+fellowship-merge-bot[bot]@users.noreply.github.com>
Co-authored-by: Pablo Andrés Dorado Suárez <hola@pablodorado.com>
Co-authored-by: ordian <write@reusable.software>
Co-authored-by: Alistair Singh <alistair.singh7@gmail.com>
Co-authored-by: Sergej Sakac <73715684+Szegoo@users.noreply.github.com>
Co-authored-by: Bastian Köcher <info@kchr.de>
Co-authored-by: Serban Iorga <serban@parity.io>
Co-authored-by: Xiliang Chen <xlchen1291@gmail.com>
Co-authored-by: Nikolai Kozlov <1431590+nkpar@users.noreply.github.com>
Co-authored-by: nkprt <nikolai@parity.io>
Co-authored-by: Eugenio Paluello <eugypalu@gmail.com>
Co-authored-by: Giuseppe Re <giuseppe.re@parity.io>
Co-authored-by: Javier Viola <363911+pepoviola@users.noreply.github.com>
Co-authored-by: Dónal Murray <donal.murray@parity.io>
Co-authored-by: Karol Kokoszka <karol.k91@gmail.com>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: Clara van Staden <claravanstaden64@gmail.com>
Co-authored-by: Ankan <10196091+Ank4n@users.noreply.github.com>
Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>
Co-authored-by: Dónal Murray <donalm@seadanda.dev>
Co-authored-by: Andrei Sandu <andrei-mihail@parity.io>
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com>
Co-authored-by: Alexandre Baldé <alexandre.balde@parity.io>
Co-authored-by: Maksym H <1177472+mordamax@users.noreply.github.com>
Co-authored-by: Alin Dima <alin@parity.io>
Co-authored-by: Alexander Theißen <alex.theissen@me.com>
Co-authored-by: Christian Langenbacher <clangenb+gh@protonmail.ch>
Co-authored-by: Ankan <ankan.anurag@gmail.com>
Co-authored-by: Karol Kokoszka <karol@parity.io>
Co-authored-by: brenzi <brenzi@users.noreply.github.com>
Co-authored-by: Doordashcon <jesse.chejieh@gmail.com>
Co-authored-by: eskimor <eskimor@users.noreply.github.com>
Co-authored-by: Robert <robert@gonimo.com>
Co-authored-by: Raymond Cheung <178801527+raymondkfcheung@users.noreply.github.com>
Co-authored-by: Maciej <kz_sky@outlook.com>
Co-authored-by: Paolo La Camera <paolo.lacamera@pm.me>
Co-authored-by: kianenigma <kian@parity.io>
Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com>
Co-authored-by: Alexander Cyon <Sajjon@users.noreply.github.com>
Due to Github security, fork won't have access to secrets, so the
workflow will fail. This prevents workflow from triggering when PR is
form a fork. In such case, perform a manual dispatch to trigger reivew.

<!-- Remember that you can run `/merge` to enable auto-merge in the PR
-->

<!-- Remember to modify the changelog. If you don't need to modify it,
you can check the following box.
Instead, if you have already modified it, simply delete the following
line. -->

- [x] Does not require a CHANGELOG entry
It is better to use the already existing infrastructure instead of
adding another way we to install dependencies.

This pull request also ensures we are forwarding return values in `/cmd`
spawned processes to e.g. fail on errors.

<!-- Remember that you can run `/merge` to enable auto-merge in the PR
-->

<!-- Remember to modify the changelog. If you don't need to modify it,
you can check the following box.
Instead, if you have already modified it, simply delete the following
line. -->

- [x] Does not require a CHANGELOG entry
<!-- Remember that you can run `/merge` to enable auto-merge in the PR
-->

<!-- Remember to modify the changelog. If you don't need to modify it,
you can check the following box.
Instead, if you have already modified it, simply delete the following
line. -->

- [x] Does not require a CHANGELOG entry

Fix zombienet test to run in `dind` environment.

---------

Co-authored-by: Bastian Köcher <git@kchr.de>
Co-authored-by: Bastian Köcher <info@kchr.de>
…ot-fellows#1048)

This PR configures the AssetHubPolkadot runtime to utilize elastic
scaling with 3 cores.

- the runtime is prepared for elastic scaling with expected 2s block
times
- 3 cores will be assigned to AHP when/after this runtime change is
enacted
- AHP will run with 6s block times until more cores are assigned

The PR also enables buffered export of the validator set to the Relay
Chain to handle block time changes from elastic scaling in AHP more
gracefully. Without this, era lengths can shrink when multiple cores are
used.

See paritytech/polkadot-sdk#10142.
…olkadot-fellows#1049)

While working on polkadot-fellows#1047
I noticed that the `/cmd bench` command commits `solc` and `resolc`
binaries. This is unwanted.

I propose to not put the binaries into the main repo directory, but use
the `RUNNER_TEMP` directory. Then we have a general solution and don't
need to mess with manual exclusion of whatever tooling we want in the
future in the git workflow.

Example commit created by bot which shows the issue:
polkadot-fellows@1854d62

Example commit which shows that fix works (no binaries present):
polkadot-fellows@a4e34df

- [x] Does not require a CHANGELOG entry

Co-authored-by: fellowship-merge-bot[bot] <151052383+fellowship-merge-bot[bot]@users.noreply.github.com>
The Asset Hub migration translated specific account IDs such that they
would stay accessible after the migration.
We missed two such accounts that were generated in a specific recursive
manner and are fixing this now.

## Changes

Add an extrinsic
`AhOps::translate_para_sovereign_child_to_sibling_derived` that can be
called with the `old` and `new` account and a derivation proof (para-id
and derivation-path). This then moves all data from the `old` account to
the `new` one.
The old and new accounts can be calculated just from the para-id and
derivation-path but we still pass them in to ensure correctness of
usage. The extrinsic can be called by the fellowship or root.

## What Is Migrated?

- Native DOT Balance
- Assets: USDC, USDT, DED, TSN
- Staked balances (unbonding balances are immediately unbonded and
bonded amounts will be rebonded and start earning in the next era)

Not migrated would be vested transfers (the accounts have none) or
similar.

## Translated Accounts

The translated accounts belong to Stellaswap and are derived from the
Moonbeam Sovereign child account:

- Moonbeam Child 2004:  13YMK2eZbf9AyGhewRs6W6QTJvBSM5bxpnTD8WgeDofbg8Q1
	- Index 5: 14vDXpWfcSRPn8eWPKt2Xc8KN57tGNnAo7Z8M2C8kpkJav5q
- Index 5/1: 1zAWXSCmRTR9ZkRXZXeHZftj1J6rnDe8BLXV8UJ2S2exCvL (**old 1**)
- Index 5/2: 14KQD8dRoT3q2fCbCC49bFjU1diFu1d516tYuGmSUMmEoGNa (**old
2**)

- Moonbeam Sibl 2004
	- 13cKp89NgPL56sRoVRpBcjkGZPrk4Vf4tS6ePUD96XhAXozG
	- Index 5: 12gb2DBw5HfpmUyBKCHxJWwGxMyXbUgf6a7bagNduHZC5S9z
- Index 5/1: 13GWAfgWAKLGm8AsKLn5pDbDyMHfShFgtMFEqM4TRNhXbSea (**new
1**)
- Index 5/2: 123oqim7B24XzwB1hC4Fh7LGwbTas3QmxL6v6sVd95eTD5ee (**new
2**)

The two accounts that will be translated are therefore:
- 1zAWXSCmRTR9ZkRXZXeHZftj1J6rnDe8BLXV8UJ2S2exCvL to
13GWAfgWAKLGm8AsKLn5pDbDyMHfShFgtMFEqM4TRNhXbSea
- 14KQD8dRoT3q2fCbCC49bFjU1diFu1d516tYuGmSUMmEoGNa to
123oqim7B24XzwB1hC4Fh7LGwbTas3QmxL6v6sVd95eTD5ee

You can see the snapshot test doing this here
https://github.com/polkadot-fellows/runtimes/blob/f254eee1fdb071b3d2f5d8cfe6c909b9e156448e/system-parachains/asset-hubs/asset-hub-polkadot/src/remote_tests.rs#L56-L61

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
In addition to adding the pallet I also:

- KSM: Removed the old `WeightToFee` definition and replaced all
occurrences with the new one
- KSM: Removed magic numbers from the `WeightToFee` definition
- DOT: Replaced `WeightToFee` with new definition required for
`pallet_revive`
- Fees: Moved the fee definition to the constants crate so they are
shared between all system chains

The only difference to the Kusama config is:
```rust
type NativeToEthRatio = ConstU32<100_000_000>; //  vs. 1_000_000 on KSM due to different decimals
type GasScale = ConstU32<1_000>; //  vs 100_000 on KSM due to different decimals
```

---------

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Ron <yrong1997@gmail.com>
…s#1047)

This adds storage-weight-reclaim to polkadot-system-chains.

---------

Co-authored-by: GitHub Action <action@github.com>
  Relay chains (Polkadot & Kusama):
  - Update execute_block/check_inherents to use LazyBlock
  - Move generate_ancestry_proof from BeefyApi to MmrApi
  - Update unapplied_slashes return type to LegacyPendingSlashes
  - Update para_backing_state return type (vstaging → async_backing)
  - Move vstaging functions to parachains_runtime_api_impl
  - Update runtime_api_impl v11 → v13
  - Update query_delivery_fees to take asset_id parameter
  - Update dry_run_xcm to single generic (XcmRouter)
@sigurpol sigurpol changed the title Fix asset-hub-polkadot and asset-hub-kusama compilation for SDK 2512-1-rc1 Fix Polkadot and Kusama AH and RC compilation for SDK 2512-1-rc1 Jan 23, 2026
@bkchr
Copy link
Copy Markdown
Contributor

bkchr commented Jan 23, 2026

/cmd bench --runtime asset-hub-kusama --pallet pallet_assets pallet_election_provider_multi_block pallet_staking_async cumulus_pallet_weight_reclaim

@github-actions
Copy link
Copy Markdown

Command "bench --runtime asset-hub-kusama --pallet pallet_assets pallet_election_provider_multi_block pallet_staking_async cumulus_pallet_weight_reclaim" has started 🚀 See logs here

@github-actions
Copy link
Copy Markdown

Command "bench --runtime asset-hub-kusama --pallet pallet_assets pallet_election_provider_multi_block pallet_staking_async cumulus_pallet_weight_reclaim" has finished ✅ See logs here

Details

Subweight results:
File Extrinsic Old New Change [%]
system-parachains/people/people-polkadot/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs reserve_asset_deposited 126.04us 18446744.07s +14635626843528.65
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block_unsigned.rs validate_unsigned 1.22ms 2.25ms +84.85
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block_unsigned.rs submit_unsigned 27.63ms 40.46ms +46.44
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block_verifier.rs on_initialize_valid_non_terminal 5.57ms 7.69ms +38.04
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block_verifier.rs on_initialize_valid_terminal 35.78ms 46.53ms +30.02
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block_verifier.rs on_initialize_invalid_terminal 37.54ms 47.82ms +27.38
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block_signed.rs unset_page 723.45us 809.14us +11.84
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block_signed.rs register_not_full 544.74us 601.64us +10.44
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block_signed.rs submit_page 748.27us 826.01us +10.39
system-parachains/people/people-polkadot/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs transfer_reserve_asset 814.42us 736.24us -9.60
system-parachains/people/people-polkadot/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs initiate_transfer 667.86us 581.92us -12.87
system-parachains/people/people-polkadot/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs initiate_reserve_withdraw 654.23us 558.94us -14.57
system-parachains/people/people-polkadot/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs deposit_reserve_asset 629.56us 537.74us -14.58
system-parachains/people/people-polkadot/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs initiate_teleport 485.89us 384.28us -20.91
system-parachains/people/people-polkadot/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs transfer_asset 415.86us 310.68us -25.29
system-parachains/asset-hubs/asset-hub-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs take_first_concatenated_xcm 5.73us 4.23us -26.11
system-parachains/coretime/coretime-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs take_first_concatenated_xcm 6.53us 4.23us -35.17
system-parachains/bridge-hubs/bridge-hub-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs take_first_concatenated_xcm 6.61us 4.23us -35.95
system-parachains/people/people-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs take_first_concatenated_xcm 6.63us 4.23us -36.13
system-parachains/people/people-kusama/src/weights/cumulus_pallet_xcmp_queue.rs take_first_concatenated_xcm 6.69us 4.23us -36.70
system-parachains/coretime/coretime-kusama/src/weights/cumulus_pallet_xcmp_queue.rs take_first_concatenated_xcm 6.73us 4.23us -37.09
system-parachains/bridge-hubs/bridge-hub-kusama/src/weights/cumulus_pallet_xcmp_queue.rs take_first_concatenated_xcm 6.77us 4.23us -37.46
system-parachains/encointer/src/weights/cumulus_pallet_xcmp_queue.rs take_first_concatenated_xcm 6.88us 4.23us -38.46
system-parachains/people/people-polkadot/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs withdraw_asset 278.23us 168.23us -39.54
system-parachains/people/people-polkadot/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs deposit_asset 271.49us 157.41us -42.02
system-parachains/asset-hubs/asset-hub-kusama/src/weights/cumulus_pallet_xcmp_queue.rs take_first_concatenated_xcm 7.34us 4.23us -42.32
system-parachains/collectives/collectives-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs take_first_concatenated_xcm 9.51us 4.23us -55.48
system-parachains/asset-hubs/asset-hub-kusama/src/weights/cumulus_pallet_weight_reclaim.rs storage_weight_reclaim 21.11us 3.98us -81.15
system-parachains/people/people-polkadot/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs receive_teleported_asset 127.11us 3.29us -97.41
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs upload_code 2.11ms Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs unmap_account 263.18us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs sha2_256 660.02us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs set_transient_storage_full 2.56us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs set_transient_storage_empty 1.87us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs set_storage_full 176.67us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs set_storage_empty 135.90us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs set_code 399.18us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_weight_to_fee 2.30us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_weight_left 880.00ns Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_value_transferred 370.00ns Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_to_account_id 32.88us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_terminate 492.84us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_take_transient_storage 3.44us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_take_storage 138.15us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_sr25519_verify 1.68ms Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_set_transient_storage 3.52us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_set_storage 137.30us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_set_immutable_data 104.92us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_set_code_hash 137.76us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_return_data_size 310.00ns Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_return 62.15us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_ref_time_left 340.00ns Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_own_code_hash 410.00ns Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_origin 1.26us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_now 390.00ns Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_minimum_balance 330.00ns Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_is_contract 33.20us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_instantiate 1.71ms Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_hash_keccak_256 1.13ms Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_hash_blake2_256 478.63us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_hash_blake2_128 479.18us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_get_transient_storage 2.76us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_get_storage 36.94us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_get_immutable_data 34.72us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_gas_price 350.00ns Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_gas_limit 600.00ns Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_ecdsa_to_eth_address 12.71us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_deposit_event 6.57us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_delegate_call 108.21us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_copy_to_contract 62.58us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_contains_transient_storage 2.48us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_contains_storage 35.85us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_code_size 62.99us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_code_hash 34.09us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_clear_transient_storage 3.23us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_clear_storage 137.01us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_caller_is_root 390.00ns Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_caller_is_origin 450.00ns Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_caller 1.25us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_call_precompile 18446744.07s Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_call_data_size 320.00ns Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_call_data_load 370.00ns Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_call_data_copy 41.30us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_call 272.57us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_block_number 350.00ns Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_block_hash 29.37us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_block_author 78.05us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_base_fee 360.00ns Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_balance_of 60.39us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_balance 6.42us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs seal_address 400.00ns Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs rollback_transient_storage 1.69us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs ripemd_160 1.31ms Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs remove_code 392.59us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs on_process_deletion_queue_batch 28.29us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs on_initialize_per_trie_key 129.67ms Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs noop_host_fn 319.31us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs map_account 298.64us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs instr_empty_loop 8.41ms Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs instr 1.88ms Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs instantiate_with_code 4.48ms Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs instantiate 1.99ms Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs identity 41.41us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs get_transient_storage_full 2.25us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs get_transient_storage_empty 1.90us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs get_storage_full 75.30us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs get_storage_empty 34.61us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs ecdsa_recover 54.55us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs dispatch_as_fallback_account 6.46us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs call_with_code_per_byte 640.91us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs call 468.27us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs bn128_pairing 13.18ms Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs bn128_mul 1.02ms Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs bn128_add 17.70us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs blake2f 37.01us Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_revive.rs basic_block_compilation 509.92us Added
system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_assets_pool.rs set_reserves 0ps Added
system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_assets_local.rs set_reserves 0ps Added
system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_assets_foreign.rs set_reserves 0ps Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_assets_pool.rs set_reserves 0ps Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_assets_local.rs set_reserves 0ps Added
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_assets_foreign.rs set_reserves 0ps Added

@sigurpol
Copy link
Copy Markdown
Contributor Author

Thanks @bkchr 🙏 can you run also the one for polkadot AH ? Thank you

@sigurpol
Copy link
Copy Markdown
Contributor Author

sigurpol commented Jan 23, 2026

Actually it seems that the KAH ones were not committed because job silently failed (no solc on ibp-us-stakeplus-bm01 see https://github.com/polkadot-fellows/runtimes/actions/runs/21294291850/job/61296920978 @bkchr )

Copy link
Copy Markdown
Contributor

@franciscoaguirre franciscoaguirre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the XCM perspective it looks good. Just needs benchmarks and fmt

Comment thread system-parachains/asset-hubs/asset-hub-polkadot/src/staking/mod.rs Outdated
@sigurpol
Copy link
Copy Markdown
Contributor Author

Actually it seems that the KAH ones were not committed because job silently failed (no solc on ibp-us-stakeplus-bm01 see https://github.com/polkadot-fellows/runtimes/actions/runs/21294291850/job/61296920978 @bkchr )

@skunert any hint why solc is not found or installed by the install_deps.sh script ?

@sigurpol sigurpol changed the title Fix Polkadot and Kusama AH and RC compilation for SDK 2512-1-rc1 Fix Polkadot and Kusama AH, RC and coretime compilation for SDK 2512-1-rc1 Jan 26, 2026
@github-actions
Copy link
Copy Markdown

Review required! Latest push from author must always be reviewed

@sigurpol sigurpol changed the title Fix Polkadot and Kusama AH, RC and coretime compilation for SDK 2512-1-rc1 Fix Polkadot and Kusama AH, RC, coretime and bridge-hub compilation for SDK 2512-1-rc1 Jan 26, 2026
@sigurpol sigurpol mentioned this pull request Jan 26, 2026
2 tasks
@sigurpol sigurpol changed the title Fix Polkadot and Kusama AH, RC, coretime and bridge-hub compilation for SDK 2512-1-rc1 Fix Polkadot and Kusama AH, RC, coretime, bridge-hub, people compilation for SDK 2512-1-rc1 Jan 26, 2026
@sigurpol
Copy link
Copy Markdown
Contributor Author

Actually it seems that the KAH ones were not committed because job silently failed (no solc on ibp-us-stakeplus-bm01 see https://github.com/polkadot-fellows/runtimes/actions/runs/21294291850/job/61296920978 @bkchr )

@skunert any hint why solc is not found or installed by the install_deps.sh script ?

Never mind, the branch I am pointing to doesn't contain latest changes around solc/resolc @bkchr and @skunert introduced -> we will need to rebase to have latest and greatest + re-try running benchmark

@skunert
Copy link
Copy Markdown
Contributor

skunert commented Jan 26, 2026

Actually it seems that the KAH ones were not committed because job silently failed (no solc on ibp-us-stakeplus-bm01 see https://github.com/polkadot-fellows/runtimes/actions/runs/21294291850/job/61296920978 @bkchr )

@skunert any hint why solc is not found or installed by the install_deps.sh script ?

Never mind, the branch I am pointing to doesn't contain latest changes around solc/resolc @bkchr and @skunert introduced -> we will need to rebase to have latest and greatest + re-try running benchmark

That explains, I was also surprised to see this:

Add cumulus_pallet_weight_reclaim pallet (kusama only, polkadot already has it)

I already added support for that in #1047 and #941, so the branch needs to be updated.

@sigurpol
Copy link
Copy Markdown
Contributor Author

Actually it seems that the KAH ones were not committed because job silently failed (no solc on ibp-us-stakeplus-bm01 see https://github.com/polkadot-fellows/runtimes/actions/runs/21294291850/job/61296920978 @bkchr )

@skunert any hint why solc is not found or installed by the install_deps.sh script ?

Never mind, the branch I am pointing to doesn't contain latest changes around solc/resolc @bkchr and @skunert introduced -> we will need to rebase to have latest and greatest + re-try running benchmark

That explains, I was also surprised to see this:

Add cumulus_pallet_weight_reclaim pallet (kusama only, polkadot already has it)

I already added support for that in #1047 and #941, so the branch needs to be updated.

Didn't notice that pandres95-upgrade-to-stable2509 was lagging so behind, I am updating from latest main and fixing quite some conflicts, then I will push again and ask some kind fellow to run the benchmark command again. Thx

@sigurpol
Copy link
Copy Markdown
Contributor Author

As mentioned here #951 (comment), I would suggest to merge #1062 into #951 and continue review, fix and benchmarking from there. Reason is that after merging latest main, this PR is very hard to review since it contains tons of changes from upstream and not only the fix to make it build against 2512-1.

@sigurpol sigurpol changed the title Fix Polkadot and Kusama AH, RC, coretime, bridge-hub, people compilation for SDK 2512-1-rc1 Fix Polkadot and Kusama AH, RC, coretime, bridge-hub, people, gluttons compilation for SDK 2512-1-rc1 Jan 26, 2026
@sigurpol sigurpol changed the title Fix Polkadot and Kusama AH, RC, coretime, bridge-hub, people, gluttons compilation for SDK 2512-1-rc1 Fix Polkadot and Kusama AH, RC, coretime, bridge-hub, people, glutton-kusama compilation for SDK 2512-1-rc1 Jan 26, 2026
@ggwpez ggwpez merged commit 7076d25 into polkadot-fellows:pandres95-upgrade-to-stable2509 Jan 26, 2026
38 of 75 checks passed
@sigurpol sigurpol mentioned this pull request Jan 26, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.