diff --git a/cmd/geth/usage.go b/cmd/geth/usage.go index a1558c233..83b596db5 100644 --- a/cmd/geth/usage.go +++ b/cmd/geth/usage.go @@ -83,6 +83,12 @@ var AppHelpFlagGroups = []flagGroup{ utils.LightKDFFlag, }, }, + { + Name: "SHARDING", + Flags: []cli.Flag{ + utils.DepositFlag, + }, + }, {Name: "DEVELOPER CHAIN", Flags: []cli.Flag{ utils.DeveloperFlag, diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 968a92aca..a4eadcf09 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -55,6 +55,7 @@ import ( "github.com/ethereum/go-ethereum/p2p/nat" "github.com/ethereum/go-ethereum/p2p/netutil" "github.com/ethereum/go-ethereum/params" + "github.com/ethereum/go-ethereum/sharding" whisper "github.com/ethereum/go-ethereum/whisper/whisperv6" "gopkg.in/urfave/cli.v1" ) @@ -536,7 +537,7 @@ var ( //Sharding Settings DepositFlag = cli.BoolFlag{ Name: "deposit", - Usage: "To become a notary with your sharding client, 100 ETH will be deposited from user's account into SMC ", + Usage: "To become a notary with your sharding client, " + new(big.Int).Div(sharding.NotaryDeposit, new(big.Int).Exp(big.NewInt(10), big.NewInt(18), nil)).String() + " ETH will be deposited into SMC", } )