From 5cc252b6580f3dc5c4054ca72c86a775bf8b30c9 Mon Sep 17 00:00:00 2001 From: eboado Date: Wed, 10 Jun 2020 12:46:18 +0200 Subject: [PATCH] - Changed ganache service config --- buidler.config.ts | 16 +++++++++++++--- docker-compose.yml | 2 ++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/buidler.config.ts b/buidler.config.ts index 1bd10616..200e6568 100644 --- a/buidler.config.ts +++ b/buidler.config.ts @@ -62,7 +62,7 @@ const config: BuidlerConfig = { url: "https://api-kovan.etherscan.io/api", apiKey: ETHERSCAN_KEY, }, - defaultNetwork: "ganache", + defaultNetwork: "dev", mocha: { timeout: 0, }, @@ -85,9 +85,19 @@ const config: BuidlerConfig = { }) ), }, - ganache: { - blockGasLimit: DEFAULT_BLOCK_GAS_LIMIT, + dev: { url: "http://localhost:8545", + hardfork: "istanbul", + blockGasLimit: DEFAULT_BLOCK_GAS_LIMIT, + gasMultiplier: DEFAULT_GAS_PRICE, + chainId: 9999, + accounts: { + mnemonic: + "fox sight canyon orphan hotel grow hedgehog build bless august weather swarm", + path: "m/44'/60'/0'/0", + initialIndex: 0, + count: 20 + } }, }, }; diff --git a/docker-compose.yml b/docker-compose.yml index c6b67d2b..ca5637ed 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,6 +6,8 @@ services: context: ./ working_dir: /src command: npm run run-env + depends_on: + - ganache volumes: - ./:/src