Skip to content

Conversation

@josevazf
Copy link
Member

This PR fixes a blocking that happens when running the indexer on a fresh start.

Why:

  • To fix the blocking on the forward and backfill syncs.

How:
After the chain is setup we force a new update with the last_block_number so that it doesn't get stuck in the previously defined start_block -1.

  • src/main.rs

Regarding the backfill, on a fresh start, the process was being stopped by a wrongly defined StopStrategy which is now updated to only consider the OnFinish which happens when running benchmarks.

  • src/sync/backfill.rs

@josevazf josevazf requested a review from naps62 October 11, 2024 08:45
@naps62 naps62 removed their request for review February 4, 2025 10:51
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