Make Deployer configurable by jsonrpcUrl instead of jsonrpcPort
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user