Conversation
🦋 Changeset detectedLatest commit: 8da0450 The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
f6f199b to
6ac7d0a
Compare
6ac7d0a to
8d4a5ad
Compare
|
I've updated this PR with a rebase and a |
8d4a5ad to
3c31643
Compare
|
Updated in a way to make it backwards compatible |
336c973 to
647cd98
Compare
Codecov Report
@@ Coverage Diff @@
## develop #1404 +/- ##
===========================================
- Coverage 76.47% 76.29% -0.18%
===========================================
Files 81 81
Lines 3018 3029 +11
Branches 463 463
===========================================
+ Hits 2308 2311 +3
- Misses 710 718 +8
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Adds new config options to the watcher to allow it to upgrade in a non breaking way. New config options include setting a global `pollForPending` and `blocksToFetch`. It is also possible to specify the number of blocks to fetch on each `Layer`. The event ids are precomputed and held as globals instead of computed on the fly each time.
647cd98 to
8da0450
Compare
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
The Watcher utility currently has a single
blocksToFetchfor both layers, which isn't ideal because L2 has much faster block times. This PR definesl1BlocksToFetchandl2BlocksToFethNote - I'm not sure why it added all the change set stuff. Feel free to remove if needed.