aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-23 02:18:09 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-05-23 06:27:17 +0800
commit447b305e3c50145696be715bc6f43523b0770220 (patch)
tree028d3afaf361b8eb019cb028fbb4ec50c027a39d /packages/0x.js/test
parent0c53d276f8f4725feeae48fc3534ab63db8fcafb (diff)
downloaddexon-sol-tools-447b305e3c50145696be715bc6f43523b0770220.tar
dexon-sol-tools-447b305e3c50145696be715bc6f43523b0770220.tar.gz
dexon-sol-tools-447b305e3c50145696be715bc6f43523b0770220.tar.bz2
dexon-sol-tools-447b305e3c50145696be715bc6f43523b0770220.tar.lz
dexon-sol-tools-447b305e3c50145696be715bc6f43523b0770220.tar.xz
dexon-sol-tools-447b305e3c50145696be715bc6f43523b0770220.tar.zst
dexon-sol-tools-447b305e3c50145696be715bc6f43523b0770220.zip
Suppport subcalls in constructor
Diffstat (limited to 'packages/0x.js/test')
-rw-r--r--packages/0x.js/test/artifacts_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/0x.js/test/artifacts_test.ts b/packages/0x.js/test/artifacts_test.ts
index ca554a4f5..982fb8e63 100644
--- a/packages/0x.js/test/artifacts_test.ts
+++ b/packages/0x.js/test/artifacts_test.ts
@@ -15,7 +15,7 @@ const TIMEOUT = 10000;
describe('Artifacts', () => {
describe('contracts are deployed on kovan', () => {
const kovanRpcUrl = constants.KOVAN_RPC_URL;
- const provider = web3Factory.create({ rpcUrl: kovanRpcUrl }).currentProvider;
+ const provider = web3Factory.getRpcProvider({ rpcUrl: kovanRpcUrl });
const config = {
networkId: constants.KOVAN_NETWORK_ID,
};
@@ -32,7 +32,7 @@ describe('Artifacts', () => {
});
describe('contracts are deployed on ropsten', () => {
const ropstenRpcUrl = constants.ROPSTEN_RPC_URL;
- const provider = web3Factory.create({ rpcUrl: ropstenRpcUrl }).currentProvider;
+ const provider = web3Factory.getRpcProvider({ rpcUrl: ropstenRpcUrl });
const config = {
networkId: constants.ROPSTEN_NETWORK_ID,
};