mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
Merge branch 'master' into fix-travis
Former-commit-id: 7f089d6aa2b2784d74521ee104d1a7b0ad90eccd [formerly b0550f6b6bac0e7c7de867b745fd2a1148212859] Former-commit-id: 12eea39cf4a4421889b29f851681fa188d894267
This commit is contained in:
@@ -14,7 +14,7 @@ var (
|
||||
Aliases: []string{"shard"},
|
||||
Usage: "Start a sharding client",
|
||||
ArgsUsage: "[endpoint]",
|
||||
Flags: []cli.Flag{utils.DataDirFlag, utils.PasswordFileFlag, utils.NetworkIdFlag},
|
||||
Flags: []cli.Flag{utils.DataDirFlag, utils.PasswordFileFlag, utils.NetworkIdFlag,utils.IPCPathFlag},
|
||||
Category: "SHARDING COMMANDS",
|
||||
Description: `
|
||||
Launches a sharding client that connects to a running geth node and proposes collations to a Validator Manager Contract. This feature is a work in progress.
|
||||
|
||||
@@ -49,6 +49,9 @@ func MakeShardingClient(ctx *cli.Context) *Client {
|
||||
if endpoint == "" {
|
||||
endpoint = fmt.Sprintf("%s/%s.ipc", path, clientIdentifier)
|
||||
}
|
||||
if ctx.GlobalIsSet(utils.IPCPathFlag.Name) {
|
||||
endpoint = ctx.GlobalString(utils.IPCPathFlag.Name)
|
||||
}
|
||||
|
||||
config := &node.Config{
|
||||
DataDir: path,
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"config": {
|
||||
"chainId": 12345,
|
||||
"homesteadBlock": 0,
|
||||
"eip155Block": 0,
|
||||
"eip158Block": 0
|
||||
},
|
||||
"difficulty": "200",
|
||||
"gasLimit": "210000000000",
|
||||
"alloc": {
|
||||
"826f3F66dB0416ea82033aE917A611bfBF4D98b6": { "balance": "300000" },
|
||||
"Dd0cbc3AE49DD62915877ebFa6050cad362B83Ad": { "balance": "400000" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user