-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
op-node: Disable CL P2P Sync when EL Sync is enabled #8592
Conversation
Semgrep found 1
Potential |
85f1060
to
8dba7cc
Compare
WalkthroughWalkthroughThe changes involve the introduction of a new synchronization mode in an Ethereum Optimism node. The Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on X ? TipsChat with CodeRabbit Bot (
|
The op-node will fetch missing blocks when it detects a gap in it's unsafe chain; however, op-geth when being driven with EL sync will also fetch blocks. We prefer to let op-geth do the networking because it is extensively tested and optimized.
8dba7cc
to
0f67fdf
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #8592 +/- ##
============================================
- Coverage 34.64% 20.24% -14.40%
============================================
Files 167 88 -79
Lines 7155 2094 -5061
Branches 1209 478 -731
============================================
- Hits 2479 424 -2055
+ Misses 4525 1642 -2883
+ Partials 151 28 -123
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
lgtm
Description
The op-node will fetch missing blocks when it detects a gap in it's unsafe chain; however, op-geth when being driven with EL sync will also fetch blocks. We prefer to let op-geth do the networking because it is extensively tested and optimized.