Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement XCM ExecuteWithOrigin instruction #4191

Open
2 tasks done
Tracked by #4826
acatangiu opened this issue Apr 18, 2024 · 0 comments
Open
2 tasks done
Tracked by #4826

Implement XCM ExecuteWithOrigin instruction #4191

acatangiu opened this issue Apr 18, 2024 · 0 comments
Assignees
Labels
I5-enhancement An additional feature request. T6-XCM This PR/Issue is related to XCM.

Comments

@acatangiu
Copy link
Contributor

Is there an existing issue?

  • I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

  • This is not a support question.

Motivation

Right now, XCM has some good instructions for manipulating the origin during execution in same ways, like ClearOrigin and DescendOrigin.
However, these instructions are final, once you use them, there's no standard way of going back to the original origin.
This results in a complicated developer experience, where the order of operations needs to be highly taken into account to perform the operations needed, with the correct origins for each.

This new instruction, ExecuteWithOrigin, provides a way of executing a set of instructions with a particular origin.
It makes scenarios where multiple operations need to be performed by multiple origins much easier to do.
It gives a standard way of doing things like buying execution from a user's account and then returning to the previous origin to perform other operations that require the priviledges associated with it.
It also allows for previously impossible scenarios like acting on behalf of many sibling origins.

Request

Implement https://github.com/paritytech/xcm-format/blob/master/proposals/0038-execute-with-origin.md

Solution

Implement https://github.com/paritytech/xcm-format/blob/master/proposals/0038-execute-with-origin.md

Are you willing to help with this request?

Yes!

@acatangiu acatangiu added T6-XCM This PR/Issue is related to XCM. I5-enhancement An additional feature request. labels Apr 18, 2024
@franciscoaguirre franciscoaguirre mentioned this issue Aug 16, 2024
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I5-enhancement An additional feature request. T6-XCM This PR/Issue is related to XCM.
Projects
Status: Todo
Development

No branches or pull requests

2 participants