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

Add claim_assets extrinsic to pallet-xcm (#3403) #3539

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

franciscoaguirre
Copy link
Contributor

Backport #3403 to polkadot-sdk 1.7.0

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 <[email protected]>
@franciscoaguirre franciscoaguirre added the R0-silent Changes should not be mentioned in any release notes label Mar 1, 2024
@franciscoaguirre franciscoaguirre marked this pull request as ready for review March 1, 2024 10:46
@franciscoaguirre franciscoaguirre requested a review from a team as a code owner March 1, 2024 10:46
@acatangiu
Copy link
Contributor

Note: this PR changes runtimes too (to support new xt benchmark), but I would only patch release pallet-xcm crate and nothing else.

@acatangiu acatangiu merged commit 8fba849 into release-crates-io-v1.7.0 Mar 1, 2024
86 of 133 checks passed
@acatangiu acatangiu deleted the backport-claim-assets branch March 1, 2024 10:56
@franciscoaguirre
Copy link
Contributor Author

We should patch both pallet-xcm and staging-xcm:

  • pallet-xcm: 8.0.2
  • staging-xcm: 8.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-silent Changes should not be mentioned in any release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants