Skip to content
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

4587: Adjust balances to sum like notes on a per-account index basis #4588

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

zbuc
Copy link
Member

@zbuc zbuc commented Jun 11, 2024

Describe your changes

This fixes the issue described in #4587 where the Balances view service API was in an in-between state between providing per-note balances and per-account index balances. This fixes the API to properly provide per-account index/asset balances (summing all notes on a per account/asset basis).

The only places the Balances API are used are in prax and the Hummingbot integration. pcli uses a different API to retrieve balances.

Issue ticket number and link

Closes #4587

Checklist before requesting a review

  • If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

    only affects view service

@zbuc zbuc merged commit cc72b3c into main Jun 11, 2024
13 checks passed
@zbuc zbuc deleted the 4587_balances_api_fix branch June 11, 2024 23:37
@erwanor
Copy link
Member

erwanor commented Jun 13, 2024

cc @conorsch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Fix Balances view service API to combine notes
3 participants