-
Notifications
You must be signed in to change notification settings - Fork 36
ref impl: main node process (connect with RPC, start drivers, handle shutdown) #132
Conversation
TODO: rebase on |
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!
# websockets or IPC preferred for event notifications to improve sync, http RPC works with adaptive polling. | ||
op node run \ | ||
--l1=ws://localhost:8546 --l2=ws//localhost:9001 \ | ||
--genesis.l1-num=.... --genesis.l1-hash=..... --genesis.l2-hash=.... |
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.
Actual values would be great. e.g. do the hash need to start with 0x?
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.
Parsing is flexible, the 0x is optional
88844ae
to
c23d2ac
Compare
Rebased on top of the driver PR (all dependencies rebased on |
Codecov Report
@@ Coverage Diff @@
## main #132 +/- ##
=======================================
Coverage 34.26% 34.26%
=======================================
Files 11 11
Lines 750 750
=======================================
Hits 257 257
Misses 468 468
Partials 25 25 Continue to review full report at Codecov.
|
…nes, starts drivers, handle shutdown
… And remove unnecessary type conversion
15beb19
to
59acf60
Compare
Rebased on |
Part of #119: staging -> main migration
This:
run
subcommand, a.k.a.go run ./opnode/cmd run
Close
of the nodeDepends on #131(merged)Review: systems team preferred. No spec affected.