You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by @CShear and @blushi in slack. When an account has no remaining credits for a given credit batch, an empty balance is returned. To prevent empty balances from being included in the response when querying all credit batch balances, the empty balance should be pruned from state and therefore not included in query response.
Problem Definition
If users no longer hold credits for a given credit batch, the credit batch still shows up in the response when querying balances.
Proposal
Remove credit batch balance for a given account when no tradable, escrowed, or retired credits.
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
Summary
Reported by @CShear and @blushi in slack. When an account has no remaining credits for a given credit batch, an empty balance is returned. To prevent empty balances from being included in the response when querying all credit batch balances, the empty balance should be pruned from state and therefore not included in query response.
Problem Definition
If users no longer hold credits for a given credit batch, the credit batch still shows up in the response when querying balances.
Proposal
Remove credit batch balance for a given account when no tradable, escrowed, or retired credits.
For Admin Use
The text was updated successfully, but these errors were encountered: