Skip to content
Snippets Groups Projects
Francisco Aguirre's avatar
Francisco Aguirre authored
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 <>
4c059c02