-
Notifications
You must be signed in to change notification settings - Fork 78
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: add-validators command #2306
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2306 +/- ##
==========================================
+ Coverage 53.79% 53.92% +0.12%
==========================================
Files 191 191
Lines 25792 25977 +185
==========================================
+ Hits 13876 14007 +131
- Misses 10221 10255 +34
- Partials 1695 1715 +20
☔ View full report in Codecov by Sentry. |
@@ -87,3 +112,22 @@ func TestValidateConfigAddValidators(t *testing.T) { | |||
}) | |||
} | |||
} | |||
|
|||
// TODO(xenowits): Add more extensive tests, this is just a very simple unit test. |
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.
Will add more tests in the subsequent PR
From ChatGPT: Here are some suggestions based on the provided code: cmd/addvalidators.go
Remember, code maintainability and readability are very important in long-term software projects. It's worth taking the time to refactor the code to make it easier to read and maintain. |
Adds logic to
charon alpha add-validators-solo
command using mutable cluster APIs.category: feature
ticket: #1887