-
Notifications
You must be signed in to change notification settings - Fork 90
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 create dkg command #484
Conversation
Codecov Report
@@ Coverage Diff @@
## main #484 +/- ##
==========================================
- Coverage 56.29% 55.82% -0.48%
==========================================
Files 82 84 +2
Lines 7446 7504 +58
==========================================
- Hits 4192 4189 -3
- Misses 2678 2737 +59
- Partials 576 578 +2
Continue to review full report at Codecov.
|
@@ -48,6 +48,9 @@ func New() *cobra.Command { | |||
newBootnodeCmd(RunBootnode), | |||
newCreateClusterCmd(runCreateCluster), | |||
newDKGCmd(dkg.Run), | |||
newCreateCmd( | |||
newCreateDKGCmd(runCreateDKG), |
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.
charon create dkg
just doesn't feel right to me
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.
i mean you can do
a dkg (distributed key gen) but creating
a dkg doesn't make sense to me
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.
I pushed for:
charon define dkg
->cluster_definition.json
charon seal
->cluster_lock.json
charon run
Or for local cluster flow:
charon define local
charon seal
charon run
But this this was rejected for:
charon create dkg
->cluster_definition.json
charon dkg
->cluster_lock.json
charon run
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.
is building a cluster_definition
even part of a dkg?
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.
it's an input to a dkg, if i'm not wrong
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.
or we can do something like:
charon create dkg-cluster
or
charon create dkg-config
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.
Perhaps this should have been discussed as part of the ticket grooming. I don't think we should stop the merge of this because we do not agree on the command name. Let's create an issue and discuss it there the definete command name
09da975
to
eb45a38
Compare
9f5c7b9
to
f733eaf
Compare
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.
Naming to be discussed later. Approving this for now!
Adds the
charon create dkg
command that generates a cluster definition file.category: feature
ticket: #442