Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Conversation

@prashantasdeveloper
Copy link
Contributor

Description

In the latest develop changes on core side, when a asset balance reaches zero in a portfolio, that value is removed from portfolio.portfolioAssetBalances storage. Here is the core change - PolymeshAssociation/Polymesh@a79a4ae#diff-fb1ae7635150b89447e4ab169b054826ada7d83a632fb647bea7f55a323385a7

This fixes the assertion where it was expected to get zero balance for the same when querying the portfolio details. Now it just returns empty array of asset balances

Breaking Changes

NA

JIRA Link

Checklist

  • Updated the Readme.md (if required) ?

@prashantasdeveloper prashantasdeveloper requested a review from a team as a code owner March 5, 2025 07:29
@prashantasdeveloper
Copy link
Contributor Author

/fast-forward

@polymesh-bot polymesh-bot merged commit ec1c188 into master Mar 5, 2025
4 checks passed
@polymesh-bot polymesh-bot deleted the fix/asset-balance-test branch March 5, 2025 12:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants