-
Notifications
You must be signed in to change notification settings - Fork 346
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
Foreign Assets Migration #3020
Foreign Assets Migration #3020
Conversation
WASM runtime size check:Compared to target branchMoonbase runtime: 2268 KB (no changes) ✅ Moonbeam runtime: 2248 KB (no changes) ✅ Moonriver runtime: 2252 KB (no changes) ✅ Compared to latest release (runtime-3300)Moonbase runtime: 2268 KB (+240 KB compared to latest release) Moonbeam runtime: 2248 KB (+252 KB compared to latest release) Moonriver runtime: 2252 KB (+260 KB compared to latest release) |
Coverage Report@@ Coverage Diff @@
## master ahmad-foreign-assets-migration +/- ##
==================================================================
- Coverage 74.70% 74.44% -0.26%
+ Files 369 375 +6
+ Lines 94308 95766 +1458
==================================================================
+ Hits 70446 71284 +838
+ Misses 23862 24482 +620
|
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.
Added a few remarks, but overall looks good. Great work 🚀
Co-authored-by: Rodrigo Quelhas <[email protected]>
Co-authored-by: Éloïs <[email protected]>
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.
With the addition of being able to migrate several foreign assets at the same time, It looks good to me, great work!
What does it do?
This PR is a follow up of #2869 , it manage the migration of existing foreign assets to the new design. The PR introduces five extrinsics in
pallet-moonbeam-lazy-migration
to handle the migration of a foreign asset.approve_assets_to_migrate
start_foreign_asset_migration
migrate_foreign_asset_balances
limit
parameter)migrate_foreign_asset_approvals
limit
parameter)finish_foreign_asset_migration
What important points reviewers should know?
Is there something left for follow-up PRs?
What alternative implementations were considered?
Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?
What value does it bring to the blockchain users?