Skip to content
Snippets Groups Projects
Unverified Commit 4c059c02 authored by Francisco Aguirre's avatar Francisco Aguirre Committed by GitHub
Browse files

XCMv5: add ExecuteWithOrigin instruction (#6304)


Added `ExecuteWithOrigin` instruction according to the old XCM RFC 38:
https://github.com/polkadot-fellows/xcm-format/pull/38.

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

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

## Future work

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

---------

Signed-off-by: default avatarAdrian Catangiu <adrian@parity.io>
Co-authored-by: default avatarAdrian Catangiu <adrian@parity.io>
Co-authored-by: default avatarAndrii <ndk@parity.io>
Co-authored-by: default avatarBranislav Kontur <bkontur@gmail.com>
Co-authored-by: default avatarJoseph Zhao <65984904+programskillforverification@users.noreply.github.com>
Co-authored-by: default avatarNazar Mokrynskyi <nazar@mokrynskyi.com>
Co-authored-by: default avatarBastian Köcher <git@kchr.de>
Co-authored-by: default avatarShawn Tabrizi <shawntabrizi@gmail.com>
Co-authored-by: command-bot <>
parent 34d2ff85
No related merge requests found
Pipeline #505323 waiting for manual action with stages
in 3 minutes and 54 seconds
Showing
with 176 additions and 5 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment