-
Notifications
You must be signed in to change notification settings - Fork 3.9k
feat(op-batcher): wait for pre-genesis RPC request loop #12383
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
feat(op-batcher): wait for pre-genesis RPC request loop #12383
Conversation
Signed-off-by: jsvisa <[email protected]>
Signed-off-by: jsvisa <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #12383 +/- ##
===========================================
- Coverage 64.32% 64.14% -0.19%
===========================================
Files 52 52
Lines 4348 4348
===========================================
- Hits 2797 2789 -8
- Misses 1376 1385 +9
+ Partials 175 174 -1
Flags with carried forward coverage won't be shown. Click here to find out more. |
|
@protolambda PTAL |
|
Thank you for the PR @jsvisa ! |
Signed-off-by: jsvisa <[email protected]>
protolambda
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thank you for implementing this change. Two small nits, then happy to merge. In terms of testing I think it's covered well enough in op-e2e, almost every test already starts the batcher and awaits genesis (depending on genesis timing).
Signed-off-by: jsvisa <[email protected]>
|
small nit would be ok without it |
Signed-off-by: jsvisa <[email protected]>
|
I think semgrep is failing when this gets updated with the latest changes from develop: https://app.circleci.com/pipelines/github/ethereum-optimism/optimism/68416/workflows/7f921a39-67d0-4347-a696-ed7d359aa0f4/jobs/2831634 |
|
Signed-off-by: jsvisa <[email protected]>
thanks for the info, we did leaked the timer, now use |
…imism#12383) * feat(op-batcher): loop fetch sync status Signed-off-by: jsvisa <[email protected]> * feat(op-batcher): wait for l2 genesis time Signed-off-by: jsvisa <[email protected]> * feat(batcher): add remaining time for tick printing Signed-off-by: jsvisa <[email protected]> * apply code reviews Signed-off-by: jsvisa <[email protected]> * use min instead of if test Signed-off-by: jsvisa <[email protected]> * fix(batcher): reset timer Signed-off-by: jsvisa <[email protected]> --------- Signed-off-by: jsvisa <[email protected]> Co-authored-by: protolambda <[email protected]>
Description
closes #11630
Tests
Additional context
Metadata