diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-12 10:19:39 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-12 10:37:30 +0800 |
commit | c4a18ee64b58217dd9733c9b9edbfe592fc1cb8d (patch) | |
tree | e51b2242419174ae7e77a8eaea74918607be070e /packages/deployer/test | |
parent | 7143996d265cde74c473467439158ae557d9f8a8 (diff) | |
download | dexon-sol-tools-c4a18ee64b58217dd9733c9b9edbfe592fc1cb8d.tar dexon-sol-tools-c4a18ee64b58217dd9733c9b9edbfe592fc1cb8d.tar.gz dexon-sol-tools-c4a18ee64b58217dd9733c9b9edbfe592fc1cb8d.tar.bz2 dexon-sol-tools-c4a18ee64b58217dd9733c9b9edbfe592fc1cb8d.tar.lz dexon-sol-tools-c4a18ee64b58217dd9733c9b9edbfe592fc1cb8d.tar.xz dexon-sol-tools-c4a18ee64b58217dd9733c9b9edbfe592fc1cb8d.tar.zst dexon-sol-tools-c4a18ee64b58217dd9733c9b9edbfe592fc1cb8d.zip |
Make Deployer configurable by jsonrpcUrl instead of jsonrpcPort
Diffstat (limited to 'packages/deployer/test')
-rw-r--r-- | packages/deployer/test/deploy_test.ts | 2 | ||||
-rw-r--r-- | packages/deployer/test/util/constants.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/deployer/test/deploy_test.ts b/packages/deployer/test/deploy_test.ts index 905e5673b..26ce337ef 100644 --- a/packages/deployer/test/deploy_test.ts +++ b/packages/deployer/test/deploy_test.ts @@ -24,7 +24,7 @@ const compiler = new Compiler(compilerOpts); const deployerOpts = { artifactsDir, networkId: constants.networkId, - jsonrpcPort: constants.jsonrpcPort, + jsonrpcUrl: constants.jsonrpcUrl, defaults: { gasPrice: constants.gasPrice, }, diff --git a/packages/deployer/test/util/constants.ts b/packages/deployer/test/util/constants.ts index adb13f330..7b6960359 100644 --- a/packages/deployer/test/util/constants.ts +++ b/packages/deployer/test/util/constants.ts @@ -2,7 +2,7 @@ import { BigNumber } from '@0xproject/utils'; export const constants = { networkId: 0, - jsonrpcPort: 8545, + jsonrpcUrl: 'http://localhost:8545', optimizerEnabled: 0, gasPrice: new BigNumber(20000000000), timeoutMs: 20000, |