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

Update foreign asset ids from v3 to v4 #472

Conversation

franciscoaguirre
Copy link
Contributor

@franciscoaguirre franciscoaguirre commented Oct 7, 2024

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.

rust-toolchain.toml Outdated Show resolved Hide resolved
Copy link
Contributor

@pandres95 pandres95 left a 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?

@franciscoaguirre
Copy link
Contributor Author

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.
We could mark v3 as deprecated as soon as that happens.

@franciscoaguirre
Copy link
Contributor Author

/merge

@fellowship-merge-bot fellowship-merge-bot bot enabled auto-merge (squash) October 24, 2024 12:18
@fellowship-merge-bot
Copy link
Contributor

Enabled auto-merge in Pull Request

Available commands
  • /merge: Enables auto-merge for Pull Request
  • /merge cancel: Cancels auto-merge for Pull Request
  • /merge help: Shows this menu

For more information see the documentation

@fellowship-merge-bot fellowship-merge-bot bot merged commit 21f767d into polkadot-fellows:main Oct 24, 2024
48 checks passed
@franciscoaguirre franciscoaguirre deleted the foreign-assets-v3-to-v4 branch October 24, 2024 19:38
fellowship-merge-bot bot pushed a commit that referenced this pull request Dec 12, 2024
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants