-
Notifications
You must be signed in to change notification settings - Fork 954
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
cmd | node: Refactor core flags #910
Conversation
from @YazzyYaz Immediate thoughts are, it should be explicit: |
…pecifying core ip addr
Codecov Report
@@ Coverage Diff @@
## main #910 +/- ##
==========================================
+ Coverage 58.15% 58.57% +0.41%
==========================================
Files 125 128 +3
Lines 7415 7618 +203
==========================================
+ Hits 4312 4462 +150
- Misses 2645 2689 +44
- Partials 458 467 +9
Continue to review full report at Codecov.
|
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, only nits
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
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.
utACK
Description
This PR consolidates flags related to adding a core endpoint. The reasoning behind this is to prevent users from having to pass too many flags once #571 is resolved (since the core accessor will now need both a
gRPC
andRPC
endpoint for the celestia-core connection).New flags
In the case that the default ports are exposed (grpc:9090, rpc:26657) on the celestia-core endpoint:
In the case that custom ports are exposed on the celestia-core endpoint:
If
--core.grpc
||--core.rpc
are not provided, we assume the defaults and attempt to connect.