Integrate SDK 2604#1159
Conversation
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Add `get_reserves` weight stub on PAH+KAH. SDK PR #11817 made it a required (no-default) method on `pallet_asset_conversion::WeightInfo`, so the local weight files won't compile without it. Placeholder values copied from the SDK's asset-hub-westend reference; re-bench before release. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
41640ef to
b2600a4
Compare
- Wired `pallet-recovery` into the asset-hub-westend benchmark list. - Fixed the benchmark setup: `finish_attempt` / `cancel_attempt` advance `frame_system`'s block number, which does not move `RelaychainDataProvider`, causing `NotYetInheritable` / `NotYetCancelable`. Under `runtime-benchmarks`, use `frame_system` as the `BlockNumberProvider` so the time-delay guards can be satisfied. Note: similar fix in fellowship repo [here](polkadot-fellows/runtimes#1183) as part of [integration of SDK 2604](polkadot-fellows/runtimes#1159). --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
| /// Unreleased migrations. Add new ones here: | ||
| pub type Unreleased = (cumulus_pallet_xcmp_queue::migration::v6::MigrateV5ToV6<Runtime>,); | ||
| pub type Unreleased = ( | ||
| cumulus_pallet_xcmp_queue::migration::v6::MigrateV5ToV6<Runtime>, |
There was a problem hiding this comment.
We can do a general sweep afterwards. Thanks for pointing it out but i just want to get this merged now 🙈
…ansition (#1184) Filter `staking.reap_stash` from both `BaseCallFilter` and the XCM `SafeCallFilter` while the validator self-stake transition to higher bond. Also see [ref #1890](https://polkadot.subsquare.io/referenda/1890).
## Summary Two small cleanups bundled together. **1. Use upstream emulated-test macros.** paritytech/polkadot-sdk#12003 was backported into `emulated-integration-tests-common` v32 (already in our dependency tree). Drop the `assets_balance_on!`, `foreign_balance_on!` and `asset_exists_on!` macros previously redefined per-test-crate in asset-hub-{kusama,polkadot}, and pull from upstream via the existing `pub use emulated_integration_tests_common::*` in `integration_tests_helpers`. **2. Drop dead `StakingPot` from asset-hub-polkadot.** The Polkadot Asset Hub runtime no longer routes any fees to `StakingPot`. Remove the unused `lib.rs` import, the `xcm_config.rs` parameter type definition (and now-unused `CollatorSelection` re-export), the dev-genesis pre-funding, and the matching emulated-test genesis pre-funding. Kusama still uses `StakingPot` for collator fee accumulation and is unchanged. <!-- Remember that you can run `/merge` to enable auto-merge in the PR --> - [ ] Does not require a CHANGELOG entry --------- Co-authored-by: GitHub Action <action@github.com>
|
2 actionable issues found. Review Suggestionssystem-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_dap.rs:28-32 Both system-parachains/asset-hubs/asset-hub-polkadot/src/migrations.rs:137-138 The new Revive auto-mapping setup is enabled in the runtime ( |
|
Call for reviews: this is a prerequisite for the new staking budget split referendum we want to submit early June so it can be on-chain by mid-June (June 1 was the target - already running a bit behind). |
| pub const FriendDepositFactor: Balance = 50 * CENTS; | ||
| pub const RecoveryDeposit: Balance = 500 * CENTS; | ||
| pub const RecoverySecurityDeposit: Balance = 500 * CENTS; | ||
| pub const RecoveryDepositBase: Balance = system_para_deposit(1, 0); |
There was a problem hiding this comment.
sometimes results too small deposit. we had such issue with bounties
There was a problem hiding this comment.
Yes I manually set the Security deposit to 5 KSM, for the recovery deposit itself it is not spammable. So if someone wants to create 5000 of those then okay :D
rockbmb
left a comment
There was a problem hiding this comment.
TL;DR PET E2E suites had spurious failures when run against this PR's runtimes; this LGTM (usual testing caveats apply).
Running PET E2E suites against #1159
(@ggwpez the below addresses the failed runs you pointed out to me)
I ran PET against runtimes build from this PR (CI run #7111, rockbmb-test-release-2604 branch cut from this one + #1180 for PET sharding + stability).
Kusama runs were clean. Polkadot shards 1/3 and 2/3 had 15 failures - assetHubPolkadot.accounts (9) and assetHubPolkadot.scheduler (6). All totalIssuance assertions off by ~707k DOT. Looked like a real inflation bug.
Cause
pallet_dap::migrations::MigrateV1ToV2 in AH-Polkadot Unreleased migrations. One-shot catch-up mint covering the gap between last era boundary and upgrade timestamp. VersionedMigration<1,2,...> with idempotent guard - fires once on first block after on_runtime_upgrade, never again.
PET forks mainnet, applies wasmOverride, measures totalIssuance deltas starting from that first block - where the mint lands.
Validation
Two experiments, same 69 tests:
- Removed DAP migration from
Unreleased, rebuilt WASM → 69/69 pass. - Kept migration, advanced one block before measuring (consumes the mint) → 69/69 pass.
…1192) Use `weights::pallet_*_precompiles::WeightInfo<Runtime>` instead of the crate-default `SubstrateWeight` for `pallet_assets_precompiles` and `pallet_vesting_precompiles` on both Asset Hub Polkadot and Kusama. - AHP: copy benchmarked weight files from #1163 and register them in `weights/mod.rs`. - AHK: register the existing (orphan) `pallet_assets_precompiles` weights, fix its trait path, and add a stop-gap `pallet_vesting_precompiles` (AHP-measured values) until a Kusama benchmark run is available. <!-- 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. --> - [ ] Does not require a CHANGELOG entry
kianenigma
left a comment
There was a problem hiding this comment.
LGTM, if #1193 can be merged before this it would also be good, but not strictly needed.
This is not yet the release, just SDK integration, so we still have time :) |
|
2 actionable issues found. Review Suggestionssystem-parachains/asset-hubs/asset-hub-polkadot/src/migrations.rs:137-138 The runtime enables system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs:678-683 The proxy filter for Kusama recovery calls was updated to the new recovery extrinsics, but it now permits |
|
/merge |
|
Enabled Available commands
For more information see the documentation |

Integrates SDK release 2604.
Contracts
CallbackHandlecheckAutoMap) · 6dd3ddc6b AH-Polkadot/Kusama: enable pallet-revive AutoMap (#11416) #1165Bridges
pallet_xcm_bridge_hub_routerUnpaidExportflag · 635ac29a8Async backing / collator
Account recovery
Penpal / integration tests
Assets/ForeignAssets(downstream fixups) · 3a8aa4280General