diff --git a/lib/cmds/blockchain/blockchain.js b/lib/cmds/blockchain/blockchain.js index 1e01893e..1b7e16d9 100644 --- a/lib/cmds/blockchain/blockchain.js +++ b/lib/cmds/blockchain/blockchain.js @@ -23,7 +23,7 @@ var Blockchain = function(options) { rpcHost: this.blockchainConfig.rpcHost || 'localhost', rpcPort: this.blockchainConfig.rpcPort || 8545, rpcCorsDomain: this.blockchainConfig.rpcCorsDomain || false, - networkId: this.blockchainConfig.networkId || 12301, + networkId: this.blockchainConfig.networkId || 1337, port: this.blockchainConfig.port || 30303, nodiscover: this.blockchainConfig.nodiscover || false, mine: this.blockchainConfig.mine || false, diff --git a/templates/boilerplate/config/blockchain.json b/templates/boilerplate/config/blockchain.json index a7f31878..b72f107a 100644 --- a/templates/boilerplate/config/blockchain.json +++ b/templates/boilerplate/config/blockchain.json @@ -2,9 +2,10 @@ "development": { "enabled": true, "networkType": "custom", + "networkId": "1337", + "isDev": true, "genesisBlock": "config/development/genesis.json", "datadir": ".embark/development/datadir", - "isDev": true, "mineWhenNeeded": true, "nodiscover": true, "maxpeers": 0, diff --git a/templates/demo/config/blockchain.json b/templates/demo/config/blockchain.json index 5743c38d..8e299188 100644 --- a/templates/demo/config/blockchain.json +++ b/templates/demo/config/blockchain.json @@ -2,9 +2,10 @@ "development": { "enabled": true, "networkType": "custom", + "networkId": "1337", + "isDev": true, "genesisBlock": "config/development/genesis.json", "datadir": ".embark/development/datadir", - "isDev": true, "mineWhenNeeded": true, "nodiscover": true, "maxpeers": 0, diff --git a/test_apps/contracts_app/blockchain.json b/test_apps/contracts_app/blockchain.json index a574d400..ee5b1b96 100644 --- a/test_apps/contracts_app/blockchain.json +++ b/test_apps/contracts_app/blockchain.json @@ -2,9 +2,10 @@ "development": { "enabled": true, "networkType": "custom", + "networkId": "1337", + "isDev": true, "genesisBlock": "development/genesis.json", "datadir": ".embark/development/datadir", - "isDev": true, "mineWhenNeeded": true, "nodiscover": true, "maxpeers": 0, diff --git a/test_apps/test_app/config/blockchain.json b/test_apps/test_app/config/blockchain.json index 2b9baa50..d86d2c76 100644 --- a/test_apps/test_app/config/blockchain.json +++ b/test_apps/test_app/config/blockchain.json @@ -2,9 +2,10 @@ "development": { "enabled": true, "networkType": "custom", + "networkId": "1337", + "isDev": true, "genesisBlock": "config/development/genesis.json", "datadir": ".embark/development/datadir", - "isDev": true, "mineWhenNeeded": true, "nodiscover": true, "maxpeers": 0,