OffchainLabs / bold

Efficient, all-vs-all dispute protocol for Optimistic Rollups
Other
115 stars 23 forks source link

Fast Sync a Validator While Chain Watcher Catching Up #660

Closed rauljordan closed 5 months ago

rauljordan commented 5 months ago

While our chain watcher is scraping events from the latest confirmed assertion to chain head, we want to have our edge trackers "act" as fast as it is reasonable (1s). Then, once we are caught up, we instead just have edge trackers act on each new block notification

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 90.90909% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 59.85%. Comparing base (1239b88) to head (b4d8821).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #660 +/- ## ========================================== - Coverage 59.99% 59.85% -0.14% ========================================== Files 50 50 Lines 8571 8591 +20 ========================================== Hits 5142 5142 - Misses 3423 3443 +20 Partials 6 6 ```