From f19e39b30c0bddd67ff66add2284dbb2f789337f Mon Sep 17 00:00:00 2001 From: Marius van der Wijden Date: Mon, 14 Sep 2020 10:40:53 +0200 Subject: [PATCH 1/3] cmd/utils: use preconfigured testnet flags instead of networkid --- cmd/utils/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 2c57e533edd7..da41e96ff279 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -128,7 +128,7 @@ var ( } NetworkIdFlag = cli.Uint64Flag{ Name: "networkid", - Usage: "Network identifier (integer, 1=Frontier, 3=Ropsten, 4=Rinkeby, 5=Görli)", + Usage: "Network identifier (integer, 1=Frontier, 3=Ropsten, 4=Rinkeby, 5=Görli), (for testnets: use --goerli, --ropsten, --rinkeby instead)", Value: eth.DefaultConfig.NetworkId, } GoerliFlag = cli.BoolFlag{ From fc6bd7cdc4097171d90086f2c29afa872a5d7735 Mon Sep 17 00:00:00 2001 From: Marius van der Wijden Date: Mon, 14 Sep 2020 15:29:28 +0200 Subject: [PATCH 2/3] cmd/utils: shorter description Co-authored-by: Martin Holst Swende --- cmd/utils/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index da41e96ff279..8bded4005376 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -128,7 +128,7 @@ var ( } NetworkIdFlag = cli.Uint64Flag{ Name: "networkid", - Usage: "Network identifier (integer, 1=Frontier, 3=Ropsten, 4=Rinkeby, 5=Görli), (for testnets: use --goerli, --ropsten, --rinkeby instead)", + Usage: "Explicitly set network id (integer)(For testnets: use --goerli, --ropsten, --rinkeby instead)", Value: eth.DefaultConfig.NetworkId, } GoerliFlag = cli.BoolFlag{ From 6d81c4b475037ed2cb25428a0108afb4f5197e3a Mon Sep 17 00:00:00 2001 From: Marius van der Wijden Date: Wed, 16 Sep 2020 09:53:24 +0200 Subject: [PATCH 3/3] Update flags.go --- cmd/utils/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 8bded4005376..d47b3a2f66a2 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -128,7 +128,7 @@ var ( } NetworkIdFlag = cli.Uint64Flag{ Name: "networkid", - Usage: "Explicitly set network id (integer)(For testnets: use --goerli, --ropsten, --rinkeby instead)", + Usage: "Explicitly set network id (integer)(For testnets: use --ropsten, --rinkeby, --goerli instead)", Value: eth.DefaultConfig.NetworkId, } GoerliFlag = cli.BoolFlag{