diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-04-02 16:10:07 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-04-02 17:35:03 +0800 |
commit | b2d6ac8dba9dae92e2850fd39f0f7f3f22900cc5 (patch) | |
tree | 98458fcb9b7e884d7857c5e0f1ad11c2e8d4d0e6 /packages/metacoin/test/utils/deployer.ts | |
parent | b090b7b1f26e7c6af9aa9f244bb0009bc5050127 (diff) | |
download | dexon-sol-tools-b2d6ac8dba9dae92e2850fd39f0f7f3f22900cc5.tar dexon-sol-tools-b2d6ac8dba9dae92e2850fd39f0f7f3f22900cc5.tar.gz dexon-sol-tools-b2d6ac8dba9dae92e2850fd39f0f7f3f22900cc5.tar.bz2 dexon-sol-tools-b2d6ac8dba9dae92e2850fd39f0f7f3f22900cc5.tar.lz dexon-sol-tools-b2d6ac8dba9dae92e2850fd39f0f7f3f22900cc5.tar.xz dexon-sol-tools-b2d6ac8dba9dae92e2850fd39f0f7f3f22900cc5.tar.zst dexon-sol-tools-b2d6ac8dba9dae92e2850fd39f0f7f3f22900cc5.zip |
move all configs to a config file
Diffstat (limited to 'packages/metacoin/test/utils/deployer.ts')
-rw-r--r-- | packages/metacoin/test/utils/deployer.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/metacoin/test/utils/deployer.ts b/packages/metacoin/test/utils/deployer.ts index d7dbc6d36..7916c8541 100644 --- a/packages/metacoin/test/utils/deployer.ts +++ b/packages/metacoin/test/utils/deployer.ts @@ -2,12 +2,13 @@ import { Deployer } from '@0xproject/deployer'; import { devConstants } from '@0xproject/dev-utils'; import * as path from 'path'; +import { config } from './config'; import { web3Wrapper } from './web3_wrapper'; const deployerOpts = { web3Provider: web3Wrapper.getProvider(), - artifactsDir: path.resolve('artifacts'), - networkId: 50, + artifactsDir: config.artifactsDir, + networkId: config.networkId, defaults: { from: devConstants.TESTRPC_FIRST_ADDRESS, }, |