Remove ChildSystemParachainAsSuperuser
from Kusama runtime + align "System" vs "common good" terminology
#32
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.
Summary
This PR proposes the alignment of the terminology used for "common-good" and "system" parachains in the Polkadot ecosystem, as discussed in PR#1406. Additionally, it suggests the removal of the
ChildSystemParachainAsSuperuser
feature from the Kusama runtime, as mentioned in a comment on the same PR comment link.Explanation
A significant change of PR#1406 is the redefinition of what constitutes a "system" parachain. Previously, a "system" parachain was identified with
para_id <= 1000
. However, the PR#1406 changed a definition, considering a "system" parachain to havepara_id <= 1999
.One consequence of this change is the reconsideration of the
ChildSystemParachainAsSuperuser
feature. This feature relies on theis_system
function, which, in turn, depends on the para_id of a parachain to determine "system" status. However, further examination has revealed that there is no known scenario in which a system parachain would need to call the Kusama runtime withRuntimeOrigin::root()
privileges. Consequently, maintaining theChildSystemParachainAsSuperuser
feature in the Kusama runtime is deemed unnecessary.References