From 7b2d1e62f5d90da4f17a9b4b8fa1ae9bc5de7c2c Mon Sep 17 00:00:00 2001 From: Abhishek Kumar <43061995+xenowits@users.noreply.github.com> Date: Wed, 14 Jun 2023 20:26:39 +0530 Subject: [PATCH] cmd: remove deprecated networks (#2314) Remove deprecated networks `kiln` & `ropsten`. category: misc ticket: #1633 --- cmd/createcluster.go | 2 +- cmd/createdkg.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/createcluster.go b/cmd/createcluster.go index 43a885f46..cc5759ab0 100644 --- a/cmd/createcluster.go +++ b/cmd/createcluster.go @@ -105,7 +105,7 @@ func bindClusterFlags(flags *pflag.FlagSet, config *clusterConfig) { flags.IntVarP(&config.Threshold, "threshold", "", 0, "Optional override of threshold required for signature reconstruction. Defaults to ceil(n*2/3) if zero. Warning, non-default values decrease security.") flags.StringSliceVar(&config.FeeRecipientAddrs, "fee-recipient-addresses", nil, "Comma separated list of Ethereum addresses of the fee recipient for each validator. Either provide a single fee recipient address or fee recipient addresses for each validator.") flags.StringSliceVar(&config.WithdrawalAddrs, "withdrawal-addresses", nil, "Comma separated list of Ethereum addresses to receive the returned stake and accrued rewards for each validator. Either provide a single withdrawal address or withdrawal addresses for each validator.") - flags.StringVar(&config.Network, "network", defaultNetwork, "Ethereum network to create validators for. Options: mainnet, gnosis, goerli, kiln, ropsten, sepolia.") + flags.StringVar(&config.Network, "network", defaultNetwork, "Ethereum network to create validators for. Options: mainnet, goerli, gnosis, sepolia.") flags.BoolVar(&config.Clean, "clean", false, "Delete the cluster directory before generating it.") flags.IntVar(&config.NumDVs, "num-validators", 1, "The number of distributed validators needed in the cluster.") flags.BoolVar(&config.SplitKeys, "split-existing-keys", false, "Split an existing validator's private key into a set of distributed validator private key shares. Does not re-create deposit data for this key.") diff --git a/cmd/createdkg.go b/cmd/createdkg.go index 9240c5db1..d830d917f 100644 --- a/cmd/createdkg.go +++ b/cmd/createdkg.go @@ -59,7 +59,7 @@ func bindCreateDKGFlags(cmd *cobra.Command, config *createDKGConfig) { cmd.Flags().IntVarP(&config.Threshold, "threshold", "t", 0, "Optional override of threshold required for signature reconstruction. Defaults to ceil(n*2/3) if zero. Warning, non-default values decrease security.") cmd.Flags().StringSliceVar(&config.FeeRecipientAddrs, "fee-recipient-addresses", nil, "Comma separated list of Ethereum addresses of the fee recipient for each validator. Either provide a single fee recipient address or fee recipient addresses for each validator.") cmd.Flags().StringSliceVar(&config.WithdrawalAddrs, "withdrawal-addresses", nil, "Comma separated list of Ethereum addresses to receive the returned stake and accrued rewards for each validator. Either provide a single withdrawal address or withdrawal addresses for each validator.") - cmd.Flags().StringVar(&config.Network, "network", defaultNetwork, "Ethereum network to create validators for. Options: mainnet, gnosis, goerli, kiln, ropsten, sepolia.") + cmd.Flags().StringVar(&config.Network, "network", defaultNetwork, "Ethereum network to create validators for. Options: mainnet, goerli, gnosis, sepolia.") cmd.Flags().StringVar(&config.DKGAlgo, "dkg-algorithm", "default", "DKG algorithm to use; default, keycast, frost") cmd.Flags().StringSliceVar(&config.OperatorENRs, operatorENRs, nil, "[REQUIRED] Comma-separated list of each operator's Charon ENR address.")