Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove state-trie-version-1 feature flag in AH Kusama #593

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

nkpar
Copy link

@nkpar nkpar commented Feb 17, 2025

  • Does not require a CHANGELOG entry

nkprt and others added 3 commits February 17, 2025 12:13
Eliminated the conditional `state-trie-version-1` feature and all associated code, including configurations, parameterization, and tests. The `state-trie-migration` pallet is now always included without feature gating.
Reorganized and reordered runtime configuration types to enhance readability and consistency. Adjusted type alias placements, added missing types, and restructured constants for better maintainability and alignment across pallets.
Replaces `EnsureSignedBy<RootMigController, AccountId>` with `EnsureRoot<AccountId>` for `ControlOrigin`. This simplifies migration control logic by ensuring only the root origin has full authority over the pallet.
@nkpar nkpar changed the title Remove state-trie-version-1 feature and related code is AH Kusama Remove state-trie-version-1 feature flag in AH Kusama Feb 18, 2025
Updated `ControlOrigin` to support either Root or Fellowship origins. Modified `SignedFilter` to use `EnsureSigned`.
cargo fmt
Bump spec_version for AH Kusama
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.

2 participants