From 1538aee4b80d6ca477c7a675d0a0ae3a2e39b698 Mon Sep 17 00:00:00 2001 From: Terence Tsao Date: Tue, 6 Mar 2018 08:28:23 -0800 Subject: [PATCH] removing collate flag Former-commit-id: 2242fdca1d18d17547ddc0e55e2d2a11d5f839f6 [formerly 0b257a237d00488b571d5b60ce7dc16dc3b685ce] Former-commit-id: 5f77c8f6274916016b052b365dfc3183b3d2d23a --- cmd/geth/main.go | 1 - cmd/geth/shardingcmd.go | 2 +- cmd/utils/flags.go | 4 ---- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/cmd/geth/main.go b/cmd/geth/main.go index 1f9069e7f2..bb19b34600 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -123,7 +123,6 @@ var ( utils.GpoPercentileFlag, utils.ExtraDataFlag, utils.DepositFlag, - utils.CollateFlag, configFileFlag, } diff --git a/cmd/geth/shardingcmd.go b/cmd/geth/shardingcmd.go index fb47a629ab..f979437502 100644 --- a/cmd/geth/shardingcmd.go +++ b/cmd/geth/shardingcmd.go @@ -27,7 +27,7 @@ Launches a sharding validator client that connects to a running geth node and pr Aliases: []string{"shard-collator"}, Usage: "Start a sharding collator client", ArgsUsage: "[endpoint]", - Flags: []cli.Flag{utils.DataDirFlag, utils.PasswordFileFlag, utils.NetworkIdFlag, utils.IPCPathFlag, utils.CollateFlag}, + Flags: []cli.Flag{utils.DataDirFlag, utils.PasswordFileFlag, utils.NetworkIdFlag, utils.IPCPathFlag}, Category: "SHARDING COMMANDS", Description: ` Launches a sharding collator client that connects to a running geth node and proposes collations to validator node. This feature is a work in progress. diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index b218f4c85c..962126b956 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -543,10 +543,6 @@ var ( Name: "deposit", Usage: "To become a validator with your sharding client, 100 ETH will be deposited from user's account into VMC ", } - CollateFlag = cli.BoolFlag{ - Name: "collate", - Usage: "To become a collator with your sharding client, to submit collations to validator node", - } ) // MakeDataDir retrieves the currently requested data directory, terminating