diff options
author | Leonid <logvinov.leon@gmail.com> | 2017-09-06 16:28:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-06 16:28:37 +0800 |
commit | f0a5ad2d2063fe8ba4682147ec2f73e2763b0275 (patch) | |
tree | 6b6c4e4e8a5b367f39687bf4fc7e9bbc237b4874 /test/utils/web3_factory.ts | |
parent | 0275ac9dada35648ffb3b543f6ba2546117a3b63 (diff) | |
parent | 258b4fac31aee1bc0c26e42d62b10bd22c69c1b8 (diff) | |
download | dexon-sol-tools-f0a5ad2d2063fe8ba4682147ec2f73e2763b0275.tar dexon-sol-tools-f0a5ad2d2063fe8ba4682147ec2f73e2763b0275.tar.gz dexon-sol-tools-f0a5ad2d2063fe8ba4682147ec2f73e2763b0275.tar.bz2 dexon-sol-tools-f0a5ad2d2063fe8ba4682147ec2f73e2763b0275.tar.lz dexon-sol-tools-f0a5ad2d2063fe8ba4682147ec2f73e2763b0275.tar.xz dexon-sol-tools-f0a5ad2d2063fe8ba4682147ec2f73e2763b0275.tar.zst dexon-sol-tools-f0a5ad2d2063fe8ba4682147ec2f73e2763b0275.zip |
Merge pull request #151 from 0xProject/feature/remove-truffle-contracts
Remove truffle contracts dependency
Diffstat (limited to 'test/utils/web3_factory.ts')
-rw-r--r-- | test/utils/web3_factory.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/utils/web3_factory.ts b/test/utils/web3_factory.ts index 4785fa858..b20070c74 100644 --- a/test/utils/web3_factory.ts +++ b/test/utils/web3_factory.ts @@ -6,7 +6,6 @@ import ProviderEngine = require('web3-provider-engine'); import RpcSubprovider = require('web3-provider-engine/subproviders/rpc'); import * as Web3 from 'web3'; -import * as Web3_beta from 'web3_beta'; import {constants} from './constants'; import {EmptyWalletSubProvider} from '../../src/subproviders/empty_wallet_subprovider'; @@ -29,9 +28,4 @@ export const web3Factory = { provider.start(); return provider; }, - getProviderBeta(): Web3.Provider { - const rpcUrl = `http://${constants.RPC_HOST}:${constants.RPC_PORT}`; - const providerBeta = new Web3_beta.providers.HttpProvider(rpcUrl); - return providerBeta; - }, }; |