-
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
Max asset ID restriction for new trusted assets #346
Max asset ID restriction for new trusted assets #346
Conversation
Co-authored-by: Bastian Köcher <[email protected]>
Review required! Latest push from author must always be reviewed |
It is probably too late to make such refactor but the asset id type should really be an enum enum AssetId {
Trusted(u32),
Untrusted(u32),
Foreign(Location),
} |
What is the difference between a trusted and untrusted asset? And what would be a remote asset? Token by another chain? |
Yeah it probably would have been better than separate pallet instances for each type. But talk about a big migration. We just didn't know that far ahead when we made the first instance with type
Not sure what Bryan meant or if it was just an example, but we have |
/merge |
Enabled Available commands
For more information see the documentation |
c05dbd1
into
polkadot-fellows:main
Set the maximum asset ID for the creation of trusted assets.
This change will enable us to migrate the trusted assets instance to start auto-incrementing IDs from 50,000,000 with the release following the next one..