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

[XCM]: Execution hints mechanism #107

Merged

Conversation

franciscoaguirre
Copy link
Contributor

Moved from polkadot-fellows/xcm-format#59.

This RFC proposes a framework for specifying "execution hints", much like window hints in GLFW.
The first one is AssetClaimer, that allows the user to specify who can claim trapped assets resulting from that program execution. That was an instruction already approved and targeted at XCMv5. This RFC proposes to move it to this hints mechanism.

Another potential hint is LeftoverAssetsDestination, which, when set, would send all leftover assets to a particular location instead of trapping. This additional hint is not covered by the RFC. It could be proposed in a new one.

@franciscoaguirre franciscoaguirre changed the title XCM execution hints mechanism [XCM]: Execution hints mechanism Jul 23, 2024
@franciscoaguirre
Copy link
Contributor Author

/rfc propose

@paritytech-rfc-bot
Copy link
Contributor

Hey @franciscoaguirre, here is a link you can use to create the referendum aiming to approve this RFC number 0107.

Instructions
  1. Open the link.

  2. Switch to the Submission tab.

  1. Adjust the transaction if needed (for example, the proposal Origin).

  2. Submit the Transaction


It is based on commit hash 598a0c4627063f9a4be1fa3b0b8d5de4ed680c36.

The proposed remark text is: RFC_APPROVE(0107,48f660cd9daeafbce2b9a09e4af99b3d18bbaa7ad459632046c07de2815610cc).

@franciscoaguirre
Copy link
Contributor Author

Jumped the gun before. Have to generate hash again.

@franciscoaguirre
Copy link
Contributor Author

/rfc propose

@paritytech-rfc-bot
Copy link
Contributor

Hey @franciscoaguirre, here is a link you can use to create the referendum aiming to approve this RFC number 0107.

Instructions
  1. Open the link.

  2. Switch to the Submission tab.

  1. Adjust the transaction if needed (for example, the proposal Origin).

  2. Submit the Transaction


It is based on commit hash 22f9eb7328e800b1757c5ea28e5343f5b319bd1b.

The proposed remark text is: RFC_APPROVE(0107,829d41e5d13e475ac68c13451a3a8f84dd8993c52c8e154ccb34366d5ff25539).

Copy link

PR can be merged.

Write the following command to trigger the bot

/rfc process 0x3327c42aa87e7ab3812ffd18a043ae26627bab2d6a9be7e62cff472568d103ef

@acatangiu
Copy link
Contributor

/rfc process 0x3327c42aa87e7ab3812ffd18a043ae26627bab2d6a9be7e62cff472568d103ef

@paritytech-rfc-bot paritytech-rfc-bot bot merged commit e4dbd1a into polkadot-fellows:main Aug 26, 2024
@paritytech-rfc-bot
Copy link
Contributor

The on-chain referendum has approved the RFC.

@anaelleltd anaelleltd added the Approved Has passed on-chain voting. label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Has passed on-chain voting.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants