aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations/src/utils
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-07-31 20:47:51 +0800
committerGitHub <noreply@github.com>2018-07-31 20:47:51 +0800
commit37590d5f5eae9eea9802d260c6afede1e8c969ac (patch)
tree6bfee5a6a19348e0f2e0ed527e920d3db1d955a8 /packages/migrations/src/utils
parent9199a56b7ae8e8cffd02b8e79e9e827356975c63 (diff)
parent02eb575813564b0586a038cc1229a166cb402146 (diff)
downloaddexon-sol-tools-37590d5f5eae9eea9802d260c6afede1e8c969ac.tar
dexon-sol-tools-37590d5f5eae9eea9802d260c6afede1e8c969ac.tar.gz
dexon-sol-tools-37590d5f5eae9eea9802d260c6afede1e8c969ac.tar.bz2
dexon-sol-tools-37590d5f5eae9eea9802d260c6afede1e8c969ac.tar.lz
dexon-sol-tools-37590d5f5eae9eea9802d260c6afede1e8c969ac.tar.xz
dexon-sol-tools-37590d5f5eae9eea9802d260c6afede1e8c969ac.tar.zst
dexon-sol-tools-37590d5f5eae9eea9802d260c6afede1e8c969ac.zip
Merge branch 'development' into ritave/resolver-check-dirs
Diffstat (limited to 'packages/migrations/src/utils')
-rw-r--r--packages/migrations/src/utils/constants.ts2
-rw-r--r--packages/migrations/src/utils/provider_factory.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/migrations/src/utils/constants.ts b/packages/migrations/src/utils/constants.ts
index 53ce2f5f1..4ae2ff833 100644
--- a/packages/migrations/src/utils/constants.ts
+++ b/packages/migrations/src/utils/constants.ts
@@ -11,6 +11,6 @@ export const constants = {
ERC20_PROXY_ID: '0xf47261b0',
ERC721_PROXY_ID: '0x02571792',
NULL_ADDRESS: '0x0000000000000000000000000000000000000000',
- RPC_URL: 'http://localhost:8545',
+ KOVAN_RPC_URL: 'https://kovan.infura.io/',
KOVAN_NETWORK_ID: 42,
};
diff --git a/packages/migrations/src/utils/provider_factory.ts b/packages/migrations/src/utils/provider_factory.ts
index 5f69b258d..a0d4e436e 100644
--- a/packages/migrations/src/utils/provider_factory.ts
+++ b/packages/migrations/src/utils/provider_factory.ts
@@ -20,7 +20,7 @@ export const providerFactory = {
};
const ledgerSubprovider = new LedgerSubprovider(ledgerWalletConfigs);
provider.addProvider(ledgerSubprovider);
- provider.addProvider(new RPCSubprovider(constants.RPC_URL));
+ provider.addProvider(new RPCSubprovider(constants.KOVAN_RPC_URL));
provider.start();
return provider;
},