-
Notifications
You must be signed in to change notification settings - Fork 350
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
remove local-assets logic from assets-manager #2670
Conversation
Coverage Report@@ Coverage Diff @@
## master rq/remove-local-assets-from-asset-manager +/- ##
=============================================================================
- Coverage 72.51% 72.50% -0.01%
Files 229 229
- Lines 70565 70401 -164
=============================================================================
- Hits 51164 51039 -125
- Misses 19401 19362 -39
|
@@ -493,8 +493,6 @@ pub enum CurrencyId { | |||
SelfReserve, | |||
// Assets representing other chains native tokens | |||
ForeignAsset(AssetId), | |||
// Our local assets | |||
DeprecatedLocalAssetReserve(AssetId), |
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.
Please keep the dummy variant to avoid breaking changes for CurrencyId scale encoding
@@ -485,8 +485,6 @@ pub enum CurrencyId { | |||
SelfReserve, | |||
// Assets representing other chains native tokens | |||
ForeignAsset(AssetId), | |||
// Our local assets | |||
DeprecatedLocalAssetReserve(AssetId), |
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.
Please keep a dummy variant here, youc an remove the (AssetId) parameter and use an empty varient named RemovedLocalAssetVariant
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.
Please keep a dummy variant for CurrencyId enum, otherwise you will break the scale encoding for the CurrencyId type, then it will break dapps beause dapps need to encode this type client side (at least the moonbeam dapp)
What does it do?
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?