From cda3525da97fe90b24c3f8d53b7077c145f1e813 Mon Sep 17 00:00:00 2001 From: Kosta Korenkov Date: Tue, 19 Nov 2019 12:22:48 +0300 Subject: [PATCH] chore: minor tweaks to truffle config (#253) * remove double truffle compile call * proper port for local ganache --- package.json | 4 ++-- truffle-config.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index b6c2cb1..ca9a357 100644 --- a/package.json +++ b/package.json @@ -4,12 +4,12 @@ "description": "LeapDAO bridge contracts (Plasma + PoS)", "main": "truffle-config.js", "scripts": { - "test": "truffle compile && scripts/test.sh", + "test": "scripts/test.sh", "clean": "rm -rf build/", "compile": "truffle compile", "deploy": "truffle migrate", "deploy:plasma": "truffle migrate -f 3", - "test-ci": "yarn run clean && yarn run compile && scripts/test.sh", + "test-ci": "yarn run clean && scripts/test.sh", "lint": "yarn run lint:contracts && yarn run lint:js", "lint:contracts": "solium -d contracts/ --fix", "lint:js": "eslint test/ --fix", diff --git a/truffle-config.js b/truffle-config.js index 7706387..be3ba91 100644 --- a/truffle-config.js +++ b/truffle-config.js @@ -53,7 +53,7 @@ module.exports = { }, ganache: { host: 'localhost', - port: 7545, + port: 8545, network_id: 5777 }, coverage: {