-
Notifications
You must be signed in to change notification settings - Fork 839
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
Simplifying BesuCommand step 1 #7682
Conversation
jflo
commented
Sep 26, 2024
- pulls out P2P settings into its own options, and produces a record for downstream users to use, agnostic of picocli. this will eventually be moved alltogether into the relevant subsystem module.
- same for EngineRPC, since it re-uses some of those settings.
- moves DataStorageOptions up from the stable package since it also contains unstable options.
- puts P2PTLSOptions in unstable, since it is.
- overloads the JsonRpcConfiguration creation method to allow for no-arg creation.
- intentionally leaves in some TODOs because this is the first of many steps.
Signed-off-by: Justin Florentine <justin+github@florentine.us>
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.
look good just one commented line to remove.
For the future, this PR could have been split on a list of smaller PR according to the description
besu/src/main/java/org/hyperledger/besu/components/BesuCommandModule.java
Outdated
Show resolved
Hide resolved
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.
since a lot of code has been moved out of BesuCommand
, should also be possible to move some code out of BesuCommandTest
besu/src/test/java/org/hyperledger/besu/cli/CascadingDefaultProviderTest.java
Outdated
Show resolved
Hide resolved
Simplifying BesuCommand --------- Signed-off-by: Justin Florentine <justin+github@florentine.us>Signed-off-by: Chulhee lee <leefehee@naver.com>