-
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: Remove Unsafe Sync Target & Direct Engine Manipulation #8856
Conversation
7086c1d
to
1995e9f
Compare
Semgrep found 1
Prefer |
e6b1ee6
to
47f6f63
Compare
1995e9f
to
1ec6a98
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #8856 +/- ##
============================================
- Coverage 34.70% 20.40% -14.30%
============================================
Files 165 86 -79
Lines 7123 2058 -5065
Branches 1208 473 -735
============================================
- Hits 2472 420 -2052
+ Misses 4499 1607 -2892
+ Partials 152 31 -121
Flags with carried forward coverage won't be shown. Click here to find out more. |
1ec6a98
to
66f70b1
Compare
Warning Rate Limit Exceeded@trianglesphere has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 4 minutes and 29 seconds before requesting another review. How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. WalkthroughThe overarching modification involves the removal of 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 your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
eeae377
to
714a127
Compare
This fully moves all execution engine manipulation into the Engine Controller from the Engine Queue. It does not remove the proxy methods however.
714a127
to
164f472
Compare
@@ -165,7 +164,6 @@ func (e *EngineController) ConfirmPayload(ctx context.Context) (out *eth.Executi | |||
} | |||
|
|||
e.unsafeHead = ref | |||
e.syncTarget = ref | |||
|
|||
e.metrics.RecordL2Ref("l2_unsafe", ref) | |||
e.metrics.RecordL2Ref("l2_engineSyncTarget", ref) |
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.
Need to remove this as well.
…reum-optimism#8856) This fully moves all execution engine manipulation into the Engine Controller from the Engine Queue. It does not remove the proxy methods however.
This fully moves all execution engine manipulation into the Engine Controller from the Engine Queue. It does not remove the proxy methods however.
Description
This PR primarily moves the last of the direct execution engine manipulation from the EngineQueue to the EngineController. It also removes the unsafe sync target because maintaining the unsafe sync target was difficult and will be replaced by a different EL sync method.
Tests
Again no tests because this is tidying.