Deprecate OnRuntimeUpgrade parameter in frame_executive::Executive#9638
Merged
bkchr merged 20 commits intoparitytech:masterfrom Sep 12, 2025
Conversation
OnRuntimeUpgrade parameter in frame_executive::Executive
bkchr
approved these changes
Sep 5, 2025
Contributor
Author
|
@ggwpez Can you have a look? |
This reverts commit 2a5ce00.
Contributor
Author
|
@bkchr fixed the check-semver job. The merge should work now. |
auto-merge was automatically disabled
September 12, 2025 09:52
Pull Request is not mergeable
Merged
via the queue into
paritytech:master
with commit Sep 12, 2025
6c06057
292 of 300 checks passed
alvicsam
pushed a commit
that referenced
this pull request
Oct 17, 2025
#9638) Follow-up of #9451 Based on PR #1781 and [PRDoc](https://github.com/paritytech/polkadot-sdk/blob/beb9030b249cc078b3955232074a8495e7e0302a/prdoc/1.9.0/pr_1781.prdoc#L29), the new way for providing the single block migrations should be through `SingleBlockMigrations` in `frame_system::Config`. Providing them from `frame_executive::Executive` is still supported, but is deprecated. > `SingleBlockMigrations` this is the new way of configuring migrations that run in a single block. Previously they were defined as last generic argument of Executive. This shift is brings all central configuration about migrations closer into view of the developer (migrations that are configured in Executive will still work for now but is deprecated). `Executive` docs will look like: <img width="800" alt="image" src="https://github.com/user-attachments/assets/6f285c26-5c61-4350-a41b-aebc6b856601" /> Companion PR in polkadot-fellows/runtimes#844
8 tasks
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up of #9451
Based on PR #1781 and PRDoc, the new way for providing the single block migrations should be through
SingleBlockMigrationsinframe_system::Config. Providing them fromframe_executive::Executiveis still supported, but is deprecated.Executivedocs will look like:Companion PR in polkadot-fellows/runtimes#844