aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test/utils/fill_scenarios.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-04 15:31:57 +0800
committerFabio Berger <me@fabioberger.com>2018-04-04 15:31:57 +0800
commit43e07e7ce3dd61af8048c20aa2355010f0c72c22 (patch)
tree84da5a773b83e1c5c452ccbd8fb22342f9d28c84 /packages/0x.js/test/utils/fill_scenarios.ts
parent5e4e27fed5b9b7c889e6e6e1805377b9eff31a3a (diff)
downloaddexon-sol-tools-43e07e7ce3dd61af8048c20aa2355010f0c72c22.tar.gz
dexon-sol-tools-43e07e7ce3dd61af8048c20aa2355010f0c72c22.tar.zst
dexon-sol-tools-43e07e7ce3dd61af8048c20aa2355010f0c72c22.zip
Update 0x.js to run tests against in-process ganache
Diffstat (limited to 'packages/0x.js/test/utils/fill_scenarios.ts')
-rw-r--r--packages/0x.js/test/utils/fill_scenarios.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/0x.js/test/utils/fill_scenarios.ts b/packages/0x.js/test/utils/fill_scenarios.ts
index 8b1308298..25e2aa36f 100644
--- a/packages/0x.js/test/utils/fill_scenarios.ts
+++ b/packages/0x.js/test/utils/fill_scenarios.ts
@@ -33,6 +33,7 @@ export class FillScenarios {
}
public async initTokenBalancesAsync() {
const web3Wrapper = (this._zeroEx as any)._web3Wrapper as Web3Wrapper;
+ const networkId = await web3Wrapper.getNetworkIdAsync();
for (const token of this._tokens) {
if (token.symbol !== 'ZRX' && token.symbol !== 'WETH') {
const defaults = {};