Skip to content

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

Merged
acatangiu merged 1 commit intorelease-crates-io-v1.7.0from
backport-claim-assets
Mar 1, 2024
Merged

Add claim_assets extrinsic to pallet-xcm (#3403)#3539
acatangiu merged 1 commit intorelease-crates-io-v1.7.0from
backport-claim-assets

Conversation

@franciscoaguirre
Copy link
Copy Markdown
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 <adrian@parity.io>
@franciscoaguirre franciscoaguirre added the R0-no-crate-publish-required The change does not require any crates to be re-published. 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
Copy Markdown
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
@acatangiu acatangiu deleted the backport-claim-assets branch March 1, 2024 10:56
@franciscoaguirre
Copy link
Copy Markdown
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-no-crate-publish-required The change does not require any crates to be re-published.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants