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
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