-
Notifications
You must be signed in to change notification settings - Fork 101
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
Update foreign asset ids from v3 to v4 #472
Update foreign asset ids from v3 to v4 #472
Conversation
integration-tests/emulated/tests/assets/asset-hub-kusama/src/tests/swap.rs
Outdated
Show resolved
Hide resolved
integration-tests/emulated/tests/assets/asset-hub-kusama/src/tests/swap.rs
Outdated
Show resolved
Hide resolved
integration-tests/emulated/tests/assets/asset-hub-kusama/src/tests/swap.rs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quick question for runtime users/client developers: Is there a schedule for deprecating XCMv3 sometime soon?
We're planning on removing v2 as soon as v5 comes out. |
/merge |
Enabled Available commands
For more information see the documentation |
21f767d
into
polkadot-fellows:main
Closes #457 Closes #469 Updating the runtimes to SDK version `stable2409-1`. CHANGELOG mentions all relevant changes for UI and Walletbuilders. ## Checklist - [x] Update SDK to `stable2409` - [x] Update configuration for relay chains. - [x] Update configuration for system parachains. - [x] Update configuration for emulated chains. - [x] Update configuration for Encointer (see _Help wanted_). - [x] Update CHANGELOG. - [x] Update SDK to `stable2409-1` ## Dependencies This PR depends on certain PRs to be merged before it can properly work. - [x] #472 ## Impacts The success of this PR impacts directly on the feasibility of executing certain issues, or closing certain PRs. - [ ] #455 - [ ] #476 - [ ] #480 - [ ] #484 ## Help wanted Initially, I request the help of: - @franciscoaguirre to help me correcting the potential conflicts that may arise when foreign assets change to `XCMv4`. - @acatangiu to help me setting up the Bridge Hubs, as well as adding the respective transition layer (a.k.a. preparing the migrations from fixed `Lanes` to `LegacyLane`-based lanes storage). - @clangenb to help me upgrading Encointer. - @Szegoo to check the parameters that changed in Coretime. --------- Co-authored-by: clangenb <[email protected]> Co-authored-by: Clara van Staden <[email protected]> Co-authored-by: Ankan <[email protected]> Co-authored-by: Dónal Murray <[email protected]> Co-authored-by: Branislav Kontur <[email protected]>
Addresses #209
Foreign assets in Asset Hub Kusama and Asset Hub Polkadot use v3 locations as ids. The newest version is v4 so this PR updates them.
No storage migration is needed since v3's and v4's encoding is the same.
Had to copy some test functions that took v3 locations into the repo until we update it to stable2409, when they actually switch to taking v4 locations.