-
Notifications
You must be signed in to change notification settings - Fork 17
[0.9.40] Add query_account_balances
runtime api for pallet assets.
#199
Comments
In addition to this i have noticed that the I see a couple of improvements in the asset-common as:
This should also be considered in the Taking into account that modifying the |
I like this implementation. We would have to remove this part since we don't have ....
// collect pallet_assets (ForeignAssets)
convert::<_, _, _, _, ForeignAssetsConvertedConcreteId>(
ForeignAssets::account_balances(account)
.iter()
.filter(|(_, balance)| balance > &0)
)?, But everything else looks good to me. I can add it today. In regards to your second comment, why do you consider that both |
Basically because i'm not 100% sure which changes are needed over the asset registry by using the new |
@valentinfernandez1 Closing this as I believe this was done, right ? Re-open if not. |
During release 0.9.40, the
query_account_balances
runtime api for querying the assets balances were implemented.We can have the details here:
paritytech/substrate#13352
This is what it has to be added in the runtime (please check the assets_common):
CC: @stiiifff @valentinfernandez1
The text was updated successfully, but these errors were encountered: