diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-30 21:03:54 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-30 23:01:37 +0800 |
commit | 6205209fbbb5dbebbf225e1cef76c3e86117d356 (patch) | |
tree | f9b352e759ff030686c532c3b6e37c320907813a /packages/contracts/test/multi_sig_with_time_lock.ts | |
parent | 6ebf8a57d18f273a9f1b04c7d2d5d8f7171eea96 (diff) | |
download | dexon-sol-tools-6205209fbbb5dbebbf225e1cef76c3e86117d356.tar.gz dexon-sol-tools-6205209fbbb5dbebbf225e1cef76c3e86117d356.tar.zst dexon-sol-tools-6205209fbbb5dbebbf225e1cef76c3e86117d356.zip |
Make an RPC constructor param implicit
Diffstat (limited to 'packages/contracts/test/multi_sig_with_time_lock.ts')
-rw-r--r-- | packages/contracts/test/multi_sig_with_time_lock.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/contracts/test/multi_sig_with_time_lock.ts b/packages/contracts/test/multi_sig_with_time_lock.ts index eee923020..bd64be1ba 100644 --- a/packages/contracts/test/multi_sig_with_time_lock.ts +++ b/packages/contracts/test/multi_sig_with_time_lock.ts @@ -1,5 +1,5 @@ import { LogWithDecodedArgs, ZeroEx } from '0x.js'; -import { BlockchainLifecycle, devConstants, RPC, web3Factory } from '@0xproject/dev-utils'; +import { BlockchainLifecycle, RPC, web3Factory } from '@0xproject/dev-utils'; import { AbiDecoder, BigNumber } from '@0xproject/utils'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; import * as chai from 'chai'; @@ -20,7 +20,7 @@ const expect = chai.expect; const web3 = web3Factory.create(); const web3Wrapper = new Web3Wrapper(web3.currentProvider); -const blockchainLifecycle = new BlockchainLifecycle(devConstants.RPC_URL); +const blockchainLifecycle = new BlockchainLifecycle(); const zeroEx = new ZeroEx(web3.currentProvider, { networkId: constants.TESTRPC_NETWORK_ID }); const abiDecoder = new AbiDecoder([MULTI_SIG_ABI]); @@ -40,7 +40,7 @@ describe('MultiSigWalletWithTimeLock', () => { let rpc: RPC; before(async () => { - rpc = new RPC(devConstants.RPC_URL); + rpc = new RPC(); }); beforeEach(async () => { await blockchainLifecycle.startAsync(); |