aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-12 10:19:39 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-12 10:37:30 +0800
commitc4a18ee64b58217dd9733c9b9edbfe592fc1cb8d (patch)
treee51b2242419174ae7e77a8eaea74918607be070e /packages/contracts
parent7143996d265cde74c473467439158ae557d9f8a8 (diff)
downloaddexon-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.ts2
-rw-r--r--packages/contracts/test/utils/deployer.ts2
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,