Conversation
The `TokenIdOf` [convert](https://github.com/paritytech/polkadot-sdk/blob/4b83d24f4bc96a7b17964be94b178dd7b8f873b5/bridges/snowbridge/primitives/core/src/location.rs#L40) is XCM version-agnostic, meaning we will get the same token ID for both V5 and legacy V4 asset. However, the extra check is unnecessary, as the`ConvertAssetId::convert(&token_id).ok_or(InvalidAsset)?;` alone is sufficient to verify whether the token is registered. (cherry picked from commit 64aed49)
|
This pull request is amending an existing release. Please proceed with extreme caution,
Emergency Bypass
If you really need to bypass this check: add |
|
@yrong Could you please double-check failing tests: https://github.com/paritytech/polkadot-sdk/actions/runs/15270732142/job/42945690820?pr=8665#step:4:38 |
Thanks for checking! Here is the fix: #8690 |
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
Backport paritytech#8473 into `stable2503` from yrong. 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: Ron <yrong1997@gmail.com> Co-authored-by: Egor_P <egor@parity.io>
Backport #8473 into
stable2503from yrong.See the documentation on how to use this bot.