-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: Add adminKey flag to node setup command #1193
base: main
Are you sure you want to change the base?
feat: Add adminKey flag to node setup command #1193
Conversation
Signed-off-by: Ivo Yankov <[email protected]>
…de-admin-keys-when-creating-genesis-networkjson-file
…de-admin-keys-when-creating-genesis-networkjson-file
Signed-off-by: Ivo Yankov <[email protected]>
…de-admin-keys-when-creating-genesis-networkjson-file
Signed-off-by: Ivo Yankov <[email protected]>
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1193 +/- ##
==========================================
- Coverage 82.66% 82.56% -0.11%
==========================================
Files 77 77
Lines 21440 21467 +27
Branches 1914 1361 -553
==========================================
Hits 17724 17724
- Misses 3593 3689 +96
+ Partials 123 54 -69
|
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.
A few questions/thoughts:
- As someone using Solo, how do I provide a different key for each node? When looking at the code I see that you allow a comma separated list of keys. However, when looking at the
flags.ts
code, I only see the description:Admin key
. I think we need to provide a better description and provide a usage example. - Since we don't sign anything, I think it would be more friendly to just supply the public key. It will be smaller, easier to supply on the command line, and will be safer, since the private key isn't really needed here.
- rename the flag from
--admin-key
to--admin-public-keys
Description
Related Issues
genesis-network.json
file #1042