aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-12-08 23:01:40 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-12-14 22:47:02 +0800
commitcb596c1413938ce23901135f8235bb813cc6e784 (patch)
tree2810c3801e369691c482911af7218f7f4db43907 /packages/contracts/test/ts
parent6120a43fff7b1b1aa1813533f3a990bb72df74a0 (diff)
downloaddexon-sol-tools-cb596c1413938ce23901135f8235bb813cc6e784.tar
dexon-sol-tools-cb596c1413938ce23901135f8235bb813cc6e784.tar.gz
dexon-sol-tools-cb596c1413938ce23901135f8235bb813cc6e784.tar.bz2
dexon-sol-tools-cb596c1413938ce23901135f8235bb813cc6e784.tar.lz
dexon-sol-tools-cb596c1413938ce23901135f8235bb813cc6e784.tar.xz
dexon-sol-tools-cb596c1413938ce23901135f8235bb813cc6e784.tar.zst
dexon-sol-tools-cb596c1413938ce23901135f8235bb813cc6e784.zip
Move more shared utils into utils package and reuse them
Diffstat (limited to 'packages/contracts/test/ts')
-rw-r--r--packages/contracts/test/ts/multi_sig_with_time_lock.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/contracts/test/ts/multi_sig_with_time_lock.ts b/packages/contracts/test/ts/multi_sig_with_time_lock.ts
index 84eb21b4a..d92c5967f 100644
--- a/packages/contracts/test/ts/multi_sig_with_time_lock.ts
+++ b/packages/contracts/test/ts/multi_sig_with_time_lock.ts
@@ -1,13 +1,14 @@
+import {RPC} from '@0xproject/dev-utils';
import {promisify} from '@0xproject/utils';
import {BigNumber} from 'bignumber.js';
import * as chai from 'chai';
import Web3 = require('web3');
import * as multiSigWalletJSON from '../../build/contracts/MultiSigWalletWithTimeLock.json';
+import * as truffleConf from '../../truffle.js';
import {Artifacts} from '../../util/artifacts';
import {constants} from '../../util/constants';
import {MultiSigWrapper} from '../../util/multi_sig_wrapper';
-import {RPC} from '../../util/rpc';
import {ContractInstance} from '../../util/types';
import {chaiSetup} from './utils/chai_setup';
@@ -38,7 +39,8 @@ contract('MultiSigWalletWithTimeLock', (accounts: string[]) => {
const secondsTimeLocked = await multiSig.secondsTimeLocked.call();
initialSecondsTimeLocked = secondsTimeLocked.toNumber();
- rpc = new RPC();
+ const rpcUrl = `http://${truffleConf.networks.development.host}:${truffleConf.networks.development.port}`;
+ rpc = new RPC(rpcUrl);
});
describe('changeTimeLock', () => {