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

pindexer: dex_ex: correct denom conversion in aggregate summary #4945

Merged
merged 1 commit into from
Dec 1, 2024

Conversation

cronokirby
Copy link
Contributor

Describe your changes

There was previously a bug here, where we used the wrong price for converting the volumes to USDC, resulting in an absurdly large purported aggregate volume.
This corrects the usage of denoms so that the number we get is reasonable.

To test, run the indexer and read out the aggregate summary table, and look for odd values

Checklist before requesting a review

  • I have added guiding text to explain how a reviewer should test these changes.

  • 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:

    indexing

@hdevalence hdevalence merged commit 9c6cde0 into main Dec 1, 2024
14 checks passed
@hdevalence hdevalence deleted the dex-explorer-aggregate-fix branch December 1, 2024 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants