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 added this to In progress in Feature Release (6.1.0) via automation 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

@abitmore abitmore merged commit f8912ef into develop Jun 11, 2021
Feature Release (6.1.0) automation moved this from In progress to Done Jun 11, 2021
@abitmore abitmore deleted the fix-lp-stats branch June 11, 2021 12:21
@abitmore abitmore removed this from Done in Feature Release (6.1.0) Oct 7, 2021
@abitmore abitmore added this to In Development in Protocol Upgrade Release (6.0.0) via automation Oct 7, 2021
@abitmore abitmore moved this from In Development to Done in Protocol Upgrade Release (6.0.0) Oct 7, 2021
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
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant