- 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", url: "https://api-kovan.etherscan.io/api",
apiKey: ETHERSCAN_KEY, apiKey: ETHERSCAN_KEY,
}, },
defaultNetwork: "ganache", defaultNetwork: "dev",
mocha: { mocha: {
timeout: 0, timeout: 0,
}, },
@ -85,9 +85,19 @@ const config: BuidlerConfig = {
}) })
), ),
}, },
ganache: { dev: {
blockGasLimit: DEFAULT_BLOCK_GAS_LIMIT,
url: "http://localhost:8545", 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: ./ context: ./
working_dir: /src working_dir: /src
command: npm run run-env command: npm run run-env
depends_on:
- ganache
volumes: volumes:
- ./:/src - ./:/src