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

BCF-3059 Hardening LogPoller replay #12484

Merged
merged 6 commits into from
Mar 21, 2024
Merged

Conversation

mateusz-sekara
Copy link
Collaborator

@mateusz-sekara mateusz-sekara commented Mar 19, 2024

Making LogPoller replay a bit smarter by

  • replaying all logs from fromBlock to the latest finalized using backfill
  • replaying everything after the latest finalized block using the regular flow

This should speed up the process, and make it more reliable and isolated from the LogPoller's main loop.

Copy link
Contributor

I see that you haven't updated any README files. Would it make sense to do so?

Copy link
Contributor

I see you updated files related to core. Please run pnpm changeset in the root directory to add a changeset.

@mateusz-sekara mateusz-sekara marked this pull request as ready for review March 20, 2024 10:21
@mateusz-sekara mateusz-sekara requested a review from a team as a code owner March 20, 2024 10:21
@mateusz-sekara mateusz-sekara added this pull request to the merge queue Mar 21, 2024
Merged via the queue into develop with commit 590cad6 Mar 21, 2024
104 checks passed
@mateusz-sekara mateusz-sekara deleted the hardening-logpoller-replay branch March 21, 2024 17:31
mateusz-sekara added a commit to smartcontractkit/ccip that referenced this pull request Mar 29, 2024
asoliman92 pushed a commit that referenced this pull request Jul 31, 2024
* Hardening LogPoller replay

* Fixing tests

* Linter fixes

* Post review fixes

* Returning ErrReplayRequestAborted when context is cancelled
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