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/deployer/src/utils | |
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/deployer/src/utils')
-rw-r--r-- | packages/deployer/src/utils/types.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/deployer/src/utils/types.ts b/packages/deployer/src/utils/types.ts index ca2f8af0c..0068faf6a 100644 --- a/packages/deployer/src/utils/types.ts +++ b/packages/deployer/src/utils/types.ts @@ -41,7 +41,7 @@ export interface SolcErrors { export interface CliOptions extends yargs.Arguments { artifactsDir: string; contractsDir: string; - jsonrpcPort: number; + jsonrpcUrl: string; networkId: number; shouldOptimize: boolean; gasPrice: string; @@ -68,11 +68,11 @@ export interface ProviderDeployerOptions extends BaseDeployerOptions { web3Provider: Web3.Provider; } -export interface PortDeployerOptions extends BaseDeployerOptions { - jsonrpcPort: number; +export interface UrlDeployerOptions extends BaseDeployerOptions { + jsonrpcUrl: string; } -export type DeployerOptions = PortDeployerOptions | ProviderDeployerOptions; +export type DeployerOptions = UrlDeployerOptions | ProviderDeployerOptions; export interface ContractSources { [key: string]: string; |