aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-utils
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-09 22:46:34 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-12 10:37:28 +0800
commit6c87ebac012953f214501e57f29318c03c174b3d (patch)
tree526eaff49ff03e5af4d792fc616970c1d7f04ecb /packages/dev-utils
parenta9479b3c015961e93f396fb1e23dc61e261c6aef (diff)
downloaddexon-sol-tools-6c87ebac012953f214501e57f29318c03c174b3d.tar
dexon-sol-tools-6c87ebac012953f214501e57f29318c03c174b3d.tar.gz
dexon-sol-tools-6c87ebac012953f214501e57f29318c03c174b3d.tar.bz2
dexon-sol-tools-6c87ebac012953f214501e57f29318c03c174b3d.tar.lz
dexon-sol-tools-6c87ebac012953f214501e57f29318c03c174b3d.tar.xz
dexon-sol-tools-6c87ebac012953f214501e57f29318c03c174b3d.tar.zst
dexon-sol-tools-6c87ebac012953f214501e57f29318c03c174b3d.zip
Rename useInProcessGanache to shouldUseInProcessGanache
Diffstat (limited to 'packages/dev-utils')
-rw-r--r--packages/dev-utils/src/web3_factory.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/dev-utils/src/web3_factory.ts b/packages/dev-utils/src/web3_factory.ts
index 74deec7b1..285c253bc 100644
--- a/packages/dev-utils/src/web3_factory.ts
+++ b/packages/dev-utils/src/web3_factory.ts
@@ -23,7 +23,7 @@ import * as Web3 from 'web3';
export interface Web3Config {
hasAddresses?: boolean; // default: true
- useInProcessGanache?: boolean; // default: false
+ shouldUseInProcessGanache?: boolean; // default: false
}
export const web3Factory = {
@@ -48,8 +48,8 @@ export const web3Factory = {
fs.appendFileSync('ganache.log', `${arg}\n`);
},
};
- const useInProcessGanache = config.useInProcessGanache;
- if (useInProcessGanache) {
+ const shouldUseInProcessGanache = config.shouldUseInProcessGanache;
+ if (shouldUseInProcessGanache) {
provider.addProvider(
new GanacheSubprovider({
logger,