From bc93d3dc1ea311edcb2b77c10197623d01942090 Mon Sep 17 00:00:00 2001 From: Haythem Sellami Date: Mon, 20 May 2019 21:31:37 +0100 Subject: [PATCH 1/2] Add development network to truffle config --- truffle-config.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/truffle-config.js b/truffle-config.js index 0559e2106..87a61e590 100644 --- a/truffle-config.js +++ b/truffle-config.js @@ -98,6 +98,13 @@ module.exports = { gas: 0xffffffffff, gasPrice: 0x01 }, + development: { + host: 'localhost', + network_id: '*', + port: 7545, + gas: 6.9e6, + gasPrice: 15000000001 + }, }, build: {}, mocha, From e2abf39e2591c956f86b3864cc77a5eb3c522b3d Mon Sep 17 00:00:00 2001 From: Haythem Sellami Date: Tue, 21 May 2019 12:53:11 +0100 Subject: [PATCH 2/2] modify port --- truffle-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/truffle-config.js b/truffle-config.js index 87a61e590..6831f9a6c 100644 --- a/truffle-config.js +++ b/truffle-config.js @@ -101,7 +101,7 @@ module.exports = { development: { host: 'localhost', network_id: '*', - port: 7545, + port: 8545, gas: 6.9e6, gasPrice: 15000000001 },