From 167cdf7914d402c14b374a113c9bfeaf9c788e90 Mon Sep 17 00:00:00 2001 From: Preston Van Loon Date: Sat, 20 Jan 2018 18:45:40 -0500 Subject: [PATCH] Add sharding alias Former-commit-id: d733b0990ea46cbcdd321599be7448f085388fbc [formerly a68721a6073690fd578e26fb1a83f0dc46837836] Former-commit-id: 2381d5d021b641023aede79f77c446254b954d17 --- cmd/geth/shardingcmd.go | 3 ++- sharding/config.go | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cmd/geth/shardingcmd.go b/cmd/geth/shardingcmd.go index 73e4034fd..7f08c910b 100644 --- a/cmd/geth/shardingcmd.go +++ b/cmd/geth/shardingcmd.go @@ -10,7 +10,8 @@ import ( var ( shardingClientCommand = cli.Command{ Action: utils.MigrateFlags(shardingClient), - Name: "shard", + Name: "sharding", + Aliases: []string{"shard"}, Usage: "Start a sharding client", ArgsUsage: "[endpoint]", Flags: []cli.Flag{utils.DataDirFlag, utils.PasswordFileFlag, utils.NetworkIdFlag}, diff --git a/sharding/config.go b/sharding/config.go index c63a15bf2..d201edd6c 100644 --- a/sharding/config.go +++ b/sharding/config.go @@ -21,6 +21,4 @@ var ( depositSize = new(big.Int).Exp(big.NewInt(10), big.NewInt(20), nil) // 100 ETH // Gas limit to create contract contractGasLimit = uint64(4700000) // Max is 4712388 - // Gas price for contract creation - contractGasPrice = new(big.Int).SetInt64(18000000000) )