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

Fix liquidity pool deposit statistics #2471

Merged
merged 4 commits into from
Jun 11, 2021
Merged

Fix liquidity pool deposit statistics #2471

merged 4 commits into from
Jun 11, 2021

Conversation

abitmore
Copy link
Member

The following data in liquidity pool statistics was incorrect:

  • _24h_deposit_amount_a
  • _24h_deposit_amount_b
  • _24h_balance_delta_a
  • _24h_balance_delta_b
  • total_deposit_amount_a
  • total_deposit_amount_b

This PR fixes it.

The first commit is to reproduce the issue (see also https://github.com/abitmore/bitshares-core/actions/runs/925545407), the second commit is the fix.

The fix requires a chain replay.

@abitmore abitmore added the 6 API Impact flag identifying the application programing interface (API) label Jun 10, 2021
@abitmore abitmore added this to the 5.3.0 - Feature Release milestone Jun 10, 2021
@abitmore abitmore changed the title Fix LP deposit statistics Fix liquidity pool deposit statistics Jun 10, 2021
@sonarcloud
Copy link

sonarcloud bot commented Jun 10, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6 API Impact flag identifying the application programing interface (API)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant