aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/web3_factory.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-09-05 00:48:18 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-09-05 00:48:18 +0800
commit6325a038188293658ad3d209cb95a2741911f5b9 (patch)
treef14cf2bd84985a0752db44f8124773ee94672055 /test/utils/web3_factory.ts
parent2577d8f66267e618e633483277f1afe828764797 (diff)
downloaddexon-sol-tools-6325a038188293658ad3d209cb95a2741911f5b9.tar
dexon-sol-tools-6325a038188293658ad3d209cb95a2741911f5b9.tar.gz
dexon-sol-tools-6325a038188293658ad3d209cb95a2741911f5b9.tar.bz2
dexon-sol-tools-6325a038188293658ad3d209cb95a2741911f5b9.tar.lz
dexon-sol-tools-6325a038188293658ad3d209cb95a2741911f5b9.tar.xz
dexon-sol-tools-6325a038188293658ad3d209cb95a2741911f5b9.tar.zst
dexon-sol-tools-6325a038188293658ad3d209cb95a2741911f5b9.zip
Temporarily remove web3_beta, cause it breaks installation and tests
Diffstat (limited to 'test/utils/web3_factory.ts')
-rw-r--r--test/utils/web3_factory.ts6
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;
- },
};