-
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
Conductor and sequencer p2p refactoring #11455
Conversation
very nice |
6affbf5
to
48045a6
Compare
48045a6
to
0a3bb21
Compare
0a3bb21
to
6bf15e7
Compare
Co-authored-by: Sebastian Stammler <[email protected]>
d5e3b4c
to
571cbec
Compare
I am not sure how extensive the test coverage of this code is. Do we have unit tests? Is the best way to test just syncing a node? |
I'll check tests and fix conflicts now. |
I don't think the test failures are related to this code |
Looks like I need a code owners approval? |
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, effectively the only change in behavior in this PR is to call n.l2Driver.StopSequencer(ctx)
inside OpNode.Stop
. Everything else is just clean up work.
Will approve once the open conversations are resolved.
🎉 |
* Shutdown sequencer before stopping p2p * Check p2p isn't also disabled Co-authored-by: Sebastian Stammler <[email protected]> * Remove missed time.Sleep * Fix up use of SetupP2P.Disabled * Revert error check after RPC boundary * Add comment about context for StopSequencer * Add Config.p2pEnabled * op-node: Make Config.P2PEnabled public --------- Co-authored-by: Sebastian Stammler <[email protected]>
Addresses #10936 (comment).