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: Allow for multiple BatchSwaps in a single block #4853

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

cronokirby
Copy link
Contributor

This fixes a bug where we assumed there was only one swap per block, ignoring the fact that each trading pair will have a different batch swap.

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:

    indexing only

This fixes a bug where we assumed there was only one swap per block,
ignoring the fact that each trading pair will have a different batch
swap.
@zbuc zbuc merged commit 90b0a55 into main Sep 13, 2024
13 checks passed
@zbuc zbuc deleted the bug-pindexer-dex branch September 13, 2024 17:03
@conorsch conorsch mentioned this pull request Sep 16, 2024
7 tasks
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