Make Deployer configurable by jsonrpcUrl instead of jsonrpcPort

This commit is contained in:
Leonid Logvinov
2018-03-12 03:19:39 +01:00
parent 7143996d26
commit c4a18ee64b
8 changed files with 22 additions and 20 deletions

View File

@@ -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,