Skip to content

[stable2412] Backport #8210#8217

Merged
EgorPopelyaev merged 3 commits intostable2412from
backport-8210-to-stable2412
Apr 17, 2025
Merged

[stable2412] Backport #8210#8217
EgorPopelyaev merged 3 commits intostable2412from
backport-8210-to-stable2412

Conversation

@paritytech-release-backport-bot
Copy link
Copy Markdown

Backport #8210 into stable2412 from karolk91.

See the documentation on how to use this bot.

…uced (#8210)

Relates to: polkadot-fellows/runtimes#651
Already used by: polkadot-fellows/runtimes#626

# Description

This PR introduces a `LocationAsSuperuser` struct that implements
`ConvertOrigin` to allow some `Location` chosen by the XCM configuration
to act as Root on the local chain.

Implementation is generic over `Location` but was created for purposes
of allowing AssetHub system chain (by other system chains and relay
chains) to execute Root level extrinsics like `authorize_upgrade` on
them.

## TODO
* [ ] backport to stable2412
* [ ] backport to stable2503

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Adrian Catangiu <adrian@parity.io>
Co-authored-by: Branislav Kontur <bkontur@gmail.com>
(cherry picked from commit 7755066)
@paritytech-release-backport-bot paritytech-release-backport-bot bot requested a review from a team as a code owner April 10, 2025 13:26
@github-actions github-actions bot added the A3-backport Pull request is already reviewed well in another branch. label Apr 10, 2025
@github-actions github-actions bot requested a review from karolk91 April 10, 2025 13:26
@github-actions
Copy link
Copy Markdown
Contributor

This pull request is amending an existing release. Please proceed with extreme caution,
as to not impact downstream teams that rely on the stability of it. Some things to consider:

  • Backports are only for 'patch' or 'minor' changes. No 'major' or other breaking change.
  • Should be a legit fix for some bug, not adding tons of new features.
  • Must either be already audited or not need an audit.
Emergency Bypass

If you really need to bypass this check: add validate: false to each crate
in the Prdoc where a breaking change is introduced. This will release a new major
version of that crate and all its reverse dependencies and basically break the release.

@karolk91 karolk91 requested review from acatangiu and bkontur April 10, 2025 13:59
@karolk91
Copy link
Copy Markdown
Contributor

@EgorPopelyaev , would use some advice here -

  1. should I merge this PR myself or its you doing the merges for 2412 ?
  2. should I rename .prdoc file to match this PR number or leave the value from original PR - seems like "Check PRdoc" is not marked as "Required" (and for example I did rename in context of bacport to 2503 here [stable2503] Backport #8210 #8218 as it was required to pass the CI)

@EgorPopelyaev EgorPopelyaev merged commit 69e5973 into stable2412 Apr 17, 2025
174 of 195 checks passed
@EgorPopelyaev EgorPopelyaev deleted the backport-8210-to-stable2412 branch April 17, 2025 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A3-backport Pull request is already reviewed well in another branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants