Snowbridge: Set default asset claimer to local network#11919
Merged
acatangiu merged 11 commits intoMay 8, 2026
Merged
Conversation
Contributor
Author
|
/cmd label T15-Bridges A4-backport-stable2603 |
…' into set-bridge-owner-claimer-network
acatangiu
approved these changes
May 5, 2026
alistair-singh
approved these changes
May 5, 2026
bkontur
reviewed
May 7, 2026
| not match the location AssetHub's signed-origin converter produces (it sets | ||
| `network: Some(LocalNetwork)`). The trap-key hash stored on `AssetsTrapped` | ||
| therefore could not be matched by a signed `polkadotXcm.claim_assets` call, | ||
| making default-claimer trapped funds effectively unrecoverable without a |
Contributor
There was a problem hiding this comment.
@claravanstaden Do we have any trapped funds in Polkadot? If so, do we need some migration?
bkontur
approved these changes
May 7, 2026
auto-merge was automatically disabled
May 7, 2026 12:31
Head branch was pushed to by a user without write access
franciscoaguirre
approved these changes
May 7, 2026
Merged
via the queue into
paritytech:master
with commit May 8, 2026
2b5a0e1
267 of 269 checks passed
|
Successfully created backport PR for |
|
Successfully created backport PR for |
acatangiu
pushed a commit
that referenced
this pull request
May 13, 2026
Backport #11919 into `stable2603` from claravanstaden. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Clara van Staden <claravanstaden64@gmail.com> Co-authored-by: Branislav Kontur <bkontur@gmail.com>
EgorPopelyaev
pushed a commit
that referenced
this pull request
May 15, 2026
Backport #11919 into `unstable2604` from claravanstaden. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Clara van Staden <claravanstaden64@gmail.com> Co-authored-by: Branislav Kontur <bkontur@gmail.com>
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.
The inbound-queue v2 message converter falls back to the Snowbridge sovereign account on AssetHub as the asset claimer when no explicit claimer is supplied. Previously this fallback used
AccountId32 { network: None, .. }, which did not match the location AssetHub's signed-origin converter produces (it setsnetwork: Some(LocalNetwork)). The trap-key hash stored onAssetsTrappedtherefore could not be matched by a signedpolkadotXcm.claim_assetscall, making default-claimer trapped funds effectively unrecoverable without a runtime upgrade.This PR sets
network: Some(LocalNetwork::get())on the fallback claimer so itsLocationagrees with whatSignedToAccountId32<_, _, LocalNetwork>yields on AssetHub, and adds a test covering the no-claimer-supplied path.