-
Notifications
You must be signed in to change notification settings - Fork 709
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
Migrate foreign assets v3::Location to v4::Location #4129
Merged
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
2b39b01
feat(asset-hub-rococo-runtime): add a migration from foreign assets V…
franciscoaguirre da042a3
Merge branch 'master' into migrate-assets-to-v4
franciscoaguirre 94738d1
fix: fmt
franciscoaguirre f0356f0
feat(assets-common): add foreign assets migration
franciscoaguirre ca8c876
feat(foreign-assets-migration): move to assets common
franciscoaguirre dce5ce1
Merge branch 'master' into migrate-assets-to-v4
franciscoaguirre e2a5398
fix: another v3 -> v4 change
franciscoaguirre a656f4b
feat(assets-common-migrations): create a pallet for asset migrations
franciscoaguirre 1457f3f
nearly works
ggwpez 211207e
nearly works
ggwpez d1efea4
make compile
ggwpez e610689
feat(assets-common-migrations): benchmark tests passing
franciscoaguirre ec88a62
feat(asset-hub-westend): migrate from v3 to v4
franciscoaguirre 310b1bf
fix(assets-common-migrations): tests work
franciscoaguirre a619548
doc: prdoc
franciscoaguirre 2e3931a
fix(assets-common-migrations): some lints
franciscoaguirre 435a412
fix(assets-common-migrations): some fixes and a license
franciscoaguirre b43ae14
fix(asset-hub-westend): actually run the migration
franciscoaguirre be9a520
fix: update Cargo.lock
franciscoaguirre d1f8048
Merge branch 'master' into migrate-assets-to-v4
franciscoaguirre 3d3e718
fix(asset-hub-westend): missing dependency
franciscoaguirre 9fe6e8b
fix: moved test code from using v3 to v4
franciscoaguirre 8bb13b7
fix(assets-common-migrations): make benchmarks work and benchmark ass…
franciscoaguirre d37daa0
fix: add licenses to weight files
franciscoaguirre 72e7f43
Merge branch 'master' into migrate-assets-to-v4
franciscoaguirre 61a6e89
chore(assets-common-migrations): remove unnecessary dependencies
franciscoaguirre 0154c57
fix(assets): change migration name and use correct WeightInfo
franciscoaguirre 7f91f73
fix: remove hex-display
franciscoaguirre 0564298
Merge branch 'master' into migrate-assets-to-v4
franciscoaguirre 41ba43d
fix: bridge hub integration tests
franciscoaguirre acb2a31
Merge branch 'master' into migrate-assets-to-v4
franciscoaguirre 57fe422
fix(assets-common-migrations): use correct module name
franciscoaguirre 41ca88c
fix(assets-common-migrations): use correct module name
franciscoaguirre 634b84d
fix(umbrella): regenerate umbrella crate
franciscoaguirre f00f5e8
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
f59f7da
revert: remove all the data migration stuff
franciscoaguirre f5a3eb5
doc(prdoc): update now that there's no data migration
franciscoaguirre 280ff6b
Merge branch 'master' into migrate-assets-to-v4
franciscoaguirre d4ccba2
Merge branch 'master' into migrate-assets-to-v4
franciscoaguirre 11f7c7d
Merge branch 'master' into migrate-assets-to-v4
franciscoaguirre 917e2f9
Merge branch 'master' into migrate-assets-to-v4
franciscoaguirre e0f40cb
Merge branch 'master' into migrate-assets-to-v4
franciscoaguirre ae7e326
chore: feedback
franciscoaguirre 2dca782
Merge branch 'master' into migrate-assets-to-v4
franciscoaguirre File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
@franciscoaguirre just thinking, if we add
xcm::v5
this won't compile again, I am not sure, but maybe:foreign_asset_at_asset_hub.clone().try_into().unwrap()
would do the trick?