Add claim_assets extrinsic to pallet-xcm (#3403)#3539
Merged
acatangiu merged 1 commit intorelease-crates-io-v1.7.0from Mar 1, 2024
Merged
Add claim_assets extrinsic to pallet-xcm (#3403)#3539acatangiu merged 1 commit intorelease-crates-io-v1.7.0from
claim_assets extrinsic to pallet-xcm (#3403)#3539acatangiu merged 1 commit intorelease-crates-io-v1.7.0from
Conversation
If an XCM execution fails or ends with leftover assets, these will be trapped. In order to claim them, a custom XCM has to be executed, with the `ClaimAsset` instruction. However, arbitrary XCM execution is not allowed everywhere yet and XCM itself is still not easy enough to use for users out there with trapped assets. This new extrinsic in `pallet-xcm` will allow these users to easily claim their assets, without concerning themselves with writing arbitrary XCMs. Part of fixing #3495 --------- Co-authored-by: command-bot <> Co-authored-by: Adrian Catangiu <adrian@parity.io>
bkontur
approved these changes
Mar 1, 2024
acatangiu
approved these changes
Mar 1, 2024
Contributor
|
Note: this PR changes runtimes too (to support new xt benchmark), but I would only patch release |
Contributor
Author
|
We should patch both
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport #3403 to polkadot-sdk 1.7.0