-
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/createcluster: add --num-validators
flag
#863
Conversation
Codecov Report
@@ Coverage Diff @@
## main #863 +/- ##
==========================================
- Coverage 54.90% 54.65% -0.26%
==========================================
Files 113 113
Lines 12082 12076 -6
==========================================
- Hits 6634 6600 -34
- Misses 4489 4511 +22
- Partials 959 965 +6
Continue to review full report at Codecov.
|
cmd/createcluster.go
Outdated
@@ -86,7 +87,7 @@ func bindClusterFlags(flags *pflag.FlagSet, config *clusterConfig) { | |||
flags.StringVar(&config.WithdrawalAddr, "withdrawal-address", defaultWithdrawalAddr, "Ethereum address to receive the returned stake and accrued rewards.") | |||
flags.StringVar(&config.Network, "network", defaultNetwork, "Ethereum network to create validators for. Options: mainnet, prater, kintsugi, kiln, gnosis.") | |||
flags.BoolVar(&config.Clean, "clean", false, "Delete the cluster directory before generating it.") | |||
|
|||
flags.IntVar(&config.NumDVs, "validators", 1, "The number of distributed validators needed in the cluster.") |
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.
Please align with create dkg
which calls this --num-validators
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.
sure
--num-validators
flag
Adds
--num-validators
flag to create cluster command which would facilitate in creation of clusters with multiple DVs.category: feature
ticket: #879