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/contracts | |
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/contracts')
-rw-r--r-- | packages/contracts/migrations/index.ts | 2 | ||||
-rw-r--r-- | packages/contracts/test/utils/deployer.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/migrations/index.ts b/packages/contracts/migrations/index.ts index a44d011da..47ae7044d 100644 --- a/packages/contracts/migrations/index.ts +++ b/packages/contracts/migrations/index.ts @@ -8,7 +8,7 @@ import { runMigrationsAsync } from './migrate'; const deployerOpts = { artifactsDir: path.resolve('src', 'artifacts'), - jsonrpcPort: devConstants.RPC_PORT, + jsonrpcUrl: devConstants.RPC_URL, networkId: constants.TESTRPC_NETWORK_ID, defaults: { gas: devConstants.GAS_ESTIMATE, diff --git a/packages/contracts/test/utils/deployer.ts b/packages/contracts/test/utils/deployer.ts index c1370f38c..1baa47f09 100644 --- a/packages/contracts/test/utils/deployer.ts +++ b/packages/contracts/test/utils/deployer.ts @@ -9,7 +9,7 @@ import { web3 } from './web3_wrapper'; const deployerOpts = { web3Provider: web3.currentProvider, artifactsDir: path.resolve('src', 'artifacts'), - jsonrpcPort: devConstants.RPC_PORT, + jsonrpcUrl: devConstants.RPC_URL, networkId: constants.TESTRPC_NETWORK_ID, defaults: { gas: devConstants.GAS_ESTIMATE, |