- Changed ganache service config

This commit is contained in:
eboado 2020-06-10 12:46:18 +02:00
parent 466fa2cafc
commit 5cc252b658
2 changed files with 15 additions and 3 deletions

View File

@ -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
}
},
},
};

View File

@ -6,6 +6,8 @@ services:
context: ./
working_dir: /src
command: npm run run-env
depends_on:
- ganache
volumes:
- ./:/src