Skip to content

Backport #6304 to stable2412#6470

Merged
EgorPopelyaev merged 2 commits intostable2412from
backport-6304-to-stable2412
Nov 19, 2024
Merged

Backport #6304 to stable2412#6470
EgorPopelyaev merged 2 commits intostable2412from
backport-6304-to-stable2412

Conversation

@franciscoaguirre
Copy link
Copy Markdown
Contributor

Backporting the new V5 ExecuteWithOrigin instruction to stable2412

@franciscoaguirre franciscoaguirre requested review from a team as code owners November 13, 2024 19:47
@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.

Added `ExecuteWithOrigin` instruction according to the old XCM RFC 38:
polkadot-fellows/xcm-format#38.

This instruction allows you to descend or clear while going back again.

- [x] Implementation
- [x] Unit tests
- [x] Integration tests
- [x] Benchmarks
- [x] PRDoc

Modify `WithComputedOrigin` barrier to allow, for example, fees to be
paid with a descendant origin using this instruction.

---------

Signed-off-by: Adrian Catangiu <[email protected]>
Co-authored-by: Adrian Catangiu <[email protected]>
Co-authored-by: Andrii <[email protected]>
Co-authored-by: Branislav Kontur <[email protected]>
Co-authored-by: Joseph Zhao <[email protected]>
Co-authored-by: Nazar Mokrynskyi <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Shawn Tabrizi <[email protected]>
Co-authored-by: command-bot <>
@franciscoaguirre franciscoaguirre force-pushed the backport-6304-to-stable2412 branch from 309cb88 to 413f900 Compare November 13, 2024 19:57
@franciscoaguirre franciscoaguirre added the T6-XCM This PR/Issue is related to XCM. label Nov 13, 2024
@franciscoaguirre franciscoaguirre self-assigned this Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T6-XCM This PR/Issue is related to XCM.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants