Skip to content
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

Merged
merged 8 commits into from
Oct 2, 2024
Merged

Simplifying BesuCommand step 1 #7682

merged 8 commits into from
Oct 2, 2024

Conversation

jflo
Copy link
Contributor

@jflo 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.

@jflo jflo mentioned this pull request Sep 28, 2024
Copy link
Contributor

@fab-10 fab-10 left a 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

Copy link
Contributor

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

Signed-off-by: Justin Florentine <justin+github@florentine.us>
@jflo jflo enabled auto-merge (squash) October 2, 2024 15:23
@jflo jflo merged commit f4dc48d into hyperledger:main Oct 2, 2024
43 checks passed
@siladu siladu mentioned this pull request Oct 4, 2024
8 tasks
2fehee pushed a commit to 2fehee/besu that referenced this pull request Oct 4, 2024
Simplifying BesuCommand
---------

Signed-off-by: Justin Florentine <justin+github@florentine.us>Signed-off-by: Chulhee lee <leefehee@naver.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants