diff options
author | Fabio Berger <me@fabioberger.com> | 2018-04-06 14:04:17 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-04-06 14:04:17 +0800 |
commit | 75a51af00603236e0b80fe04336494944a32739c (patch) | |
tree | b5e605911321cfc148f5eedec842fbe2c6bd0672 /packages/deployer/src/cli.ts | |
parent | 24454938e51e40ae74809f15bd1f612c69c218ec (diff) | |
download | dexon-sol-tools-75a51af00603236e0b80fe04336494944a32739c.tar dexon-sol-tools-75a51af00603236e0b80fe04336494944a32739c.tar.gz dexon-sol-tools-75a51af00603236e0b80fe04336494944a32739c.tar.bz2 dexon-sol-tools-75a51af00603236e0b80fe04336494944a32739c.tar.lz dexon-sol-tools-75a51af00603236e0b80fe04336494944a32739c.tar.xz dexon-sol-tools-75a51af00603236e0b80fe04336494944a32739c.tar.zst dexon-sol-tools-75a51af00603236e0b80fe04336494944a32739c.zip |
Use provider over web3 in deployer, dev-utils and subprovider tests, rename subprovider to ganacheSubprovider in test util
Diffstat (limited to 'packages/deployer/src/cli.ts')
-rw-r--r-- | packages/deployer/src/cli.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/deployer/src/cli.ts b/packages/deployer/src/cli.ts index d1bd645b3..f1cf56416 100644 --- a/packages/deployer/src/cli.ts +++ b/packages/deployer/src/cli.ts @@ -41,8 +41,8 @@ async function onCompileCommandAsync(argv: CliOptions): Promise<void> { */ async function onDeployCommandAsync(argv: CliOptions): Promise<void> { const url = argv.jsonrpcUrl; - const web3Provider = new Web3.providers.HttpProvider(url); - const web3Wrapper = new Web3Wrapper(web3Provider); + const provider = new Web3.providers.HttpProvider(url); + const web3Wrapper = new Web3Wrapper(provider); const networkId = await web3Wrapper.getNetworkIdAsync(); const compilerOpts: CompilerOptions = { contractsDir: argv.contractsDir, |