Skip to content

[stable2503] Backport #8210#8218

Merged
karolk91 merged 3 commits intostable2503from
backport-8210-to-stable2503
Apr 16, 2025
Merged

[stable2503] Backport #8210#8218
karolk91 merged 3 commits intostable2503from
backport-8210-to-stable2503

Conversation

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

Backport #8210 into stable2503 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 enabled auto-merge (squash) April 15, 2025 13:52
@paritytech-workflow-stopper
Copy link
Copy Markdown

All GitHub workflows were cancelled due to failure one of the required jobs.
Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/14471449472
Failed job name: check-runtime-migration

@karolk91
Copy link
Copy Markdown
Contributor

Seems that CI failures are related to #8246

@karolk91 karolk91 merged commit 5f2e7ab into stable2503 Apr 16, 2025
251 of 260 checks passed
@karolk91 karolk91 deleted the backport-8210-to-stable2503 branch April 16, 2025 13:04
alstjd0921 pushed a commit to bifrost-platform/polkadot-sdk that referenced this pull request Aug 14, 2025
Backport paritytech#8210 into `stable2503` from karolk91.

See the
[documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md)
on how to use this bot.

<!--
  # To be used by other automation, do not modify:
  original-pr-number: #${pull_number}
-->

Co-authored-by: Karol Kokoszka <karol.k91@gmail.com>
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.

3 participants