Skip to content

Conversation

@nkpar
Copy link
Contributor

@nkpar nkpar commented Dec 18, 2025

Summary

The state trie migration from V0 to V1 format has been completed on all Polkadot ecosystem chains:

Chain Top Items Migrated Child Items Status
Polkadot Relay 2,192,421 10,423 ✅ Complete
Asset Hub Polkadot 5,448,606 0 ✅ Complete
Asset Hub Kusama 288,016 0 ✅ Complete

This PR removes the pallet-state-trie-migration from these runtimes and adds RemovePallet migrations to clean up the storage.

Changes

For each runtime:

  • Removed pallet-state-trie-migration dependency from Cargo.toml
  • Removed pallet configuration (impl pallet_state_trie_migration::Config)
  • Removed from construct_runtime! macro
  • Added RemovePallet<StateTrieMigrationPalletName, DbWeight> migration
  • Removed associated MigController accounts and tests (Asset Hubs only)

Reference

Test Plan

  • CI passes
  • RemovePallet migration tested via try-runtime (if enabled)

Closes #74 (for Polkadot ecosystem chains)

nkpar and others added 6 commits April 8, 2025 16:08
Update value of MigrationMaxKeyLen to proceed with migration via bot on both KAH and PAH
Set ControlOrigin to MigController
Migration limit could be set either by fellowship or MigController
The state trie migration from V0 to V1 format has been completed on:
- Polkadot relay chain (2,192,421 top items + 10,423 child items)
- Asset Hub Polkadot (5,448,606 top items)
- Asset Hub Kusama (288,016 top items)

This PR removes the pallet-state-trie-migration from these runtimes and adds
RemovePallet migrations to clean up the storage.

Closes polkadot-fellows#74 (for Polkadot ecosystem chains)
@github-actions github-actions bot requested a review from bkchr December 18, 2025 21:25
@github-actions
Copy link

Review required! Latest push from author must always be reviewed

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.

State migration

2 participants