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(relayer): fix scanning blocks twice #14047

Merged
merged 3 commits into from
Jun 23, 2023
Merged

fix(relayer): fix scanning blocks twice #14047

merged 3 commits into from
Jun 23, 2023

Conversation

cyberhorsey
Copy link
Contributor

@cyberhorsey cyberhorsey commented Jun 23, 2023

we were encounting "fake" reorgs due to re-scanning the first block of every batch, which was actually the end of the previous batch. we were actually processing "blockBatchSize + 1" batches before due to faulty batching logic, however this was never an issue previously because we allowed duplicate event creation and were not attempting to handle reorgs.

@cyberhorsey cyberhorsey added this pull request to the merge queue Jun 23, 2023
Merged via the queue into main with commit 9ee6723 Jun 23, 2023
13 checks passed
@cyberhorsey cyberhorsey deleted the relayer_scan_fix branch June 23, 2023 23:51
@github-actions github-actions bot mentioned this pull request Jun 23, 2023
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.

None yet

3 participants