From 92d5fc8e1ea01c8e39c9f56b63d23c3b7cfe1ba3 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Fri, 29 Jun 2018 14:17:59 -0400 Subject: [PATCH] hotfix blockchain configs for privatenet --- test_apps/contracts_app/blockchain.json | 16 ++++------------ test_apps/test_app/config/blockchain.json | 16 ++++------------ 2 files changed, 8 insertions(+), 24 deletions(-) diff --git a/test_apps/contracts_app/blockchain.json b/test_apps/contracts_app/blockchain.json index a24efdbc..9c85d626 100644 --- a/test_apps/contracts_app/blockchain.json +++ b/test_apps/contracts_app/blockchain.json @@ -17,12 +17,12 @@ "wsHost": "localhost", "wsPort": 8546 }, - "privateNet": { + "privatenet": { "networkType": "custom", "networkId": "1337", "isDev": false, - "genesisBlock": "privateNet/genesis.json", - "datadir": ".embark/privateNet/datadir", + "genesisBlock": "privatenet/genesis.json", + "datadir": ".embark/privatenet/datadir", "mineWhenNeeded": true, "nodiscover": true, "maxpeers": 0, @@ -30,7 +30,7 @@ "rpcPort": 8545, "rpcCorsDomain": "auto", "account": { - "password": "privateNet/password" + "password": "privatenet/password" }, "targetGasLimit": 8000000, "wsOrigins": "auto", @@ -64,13 +64,5 @@ "account": { "password": "livenet/password" } - }, - "privatenet": { - "networkType": "custom", - "rpcHost": "localhost", - "rpcPort": 8545, - "datadir": "yourdatadir", - "networkId": "123", - "bootnodes": "" } } diff --git a/test_apps/test_app/config/blockchain.json b/test_apps/test_app/config/blockchain.json index 5b67552c..5f6ff2d9 100644 --- a/test_apps/test_app/config/blockchain.json +++ b/test_apps/test_app/config/blockchain.json @@ -18,13 +18,13 @@ "wsPort": 8546, "proxy": true }, - "privateNet": { + "privatenet": { "enabled": true, "networkType": "custom", "networkId": "1337", "isDev": false, - "genesisBlock": "config/privateNet/genesis.json", - "datadir": ".embark/privateNet/datadir", + "genesisBlock": "config/privatenet/genesis.json", + "datadir": ".embark/privatenet/datadir", "mineWhenNeeded": true, "nodiscover": true, "maxpeers": 0, @@ -34,7 +34,7 @@ "account": { "numAccounts": 3, "balance": "5 ether", - "password": "config/privateNet/password" + "password": "config/privatenet/password" }, "targetGasLimit": 8000000, "wsOrigins": "auto", @@ -69,13 +69,5 @@ "account": { "password": "config/livenet/password" } - }, - "privatenet": { - "networkType": "custom", - "rpcHost": "localhost", - "rpcPort": 8545, - "datadir": "yourdatadir", - "networkId": "123", - "bootnodes": "" } }