aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-06-27 16:24:26 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-06-29 22:52:52 +0800
commit073e76ee9097f0167b295458521782c483f6f452 (patch)
tree953233a4fab20c96bea8b6cae7aa4c029566b50f /packages
parentceba82260fbe154a01e86c4d025e0a9f491a1bf7 (diff)
downloaddexon-sol-tools-073e76ee9097f0167b295458521782c483f6f452.tar
dexon-sol-tools-073e76ee9097f0167b295458521782c483f6f452.tar.gz
dexon-sol-tools-073e76ee9097f0167b295458521782c483f6f452.tar.bz2
dexon-sol-tools-073e76ee9097f0167b295458521782c483f6f452.tar.lz
dexon-sol-tools-073e76ee9097f0167b295458521782c483f6f452.tar.xz
dexon-sol-tools-073e76ee9097f0167b295458521782c483f6f452.tar.zst
dexon-sol-tools-073e76ee9097f0167b295458521782c483f6f452.zip
Run V2 migrations instead of V1 before tests
Diffstat (limited to 'packages')
-rw-r--r--packages/contract-wrappers/test/global_hooks.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/contract-wrappers/test/global_hooks.ts b/packages/contract-wrappers/test/global_hooks.ts
index 52a384ada..bf80e0908 100644
--- a/packages/contract-wrappers/test/global_hooks.ts
+++ b/packages/contract-wrappers/test/global_hooks.ts
@@ -1,5 +1,5 @@
import { devConstants } from '@0xproject/dev-utils';
-import { runV1MigrationsAsync } from '@0xproject/migrations';
+import { runV2MigrationsAsync } from '@0xproject/migrations';
import { provider } from './utils/web3_wrapper';
@@ -12,6 +12,6 @@ before('migrate contracts', async function(): Promise<void> {
gas: devConstants.GAS_LIMIT,
from: devConstants.TESTRPC_FIRST_ADDRESS,
};
- const artifactsDir = `../migrations/artifacts/1.0.0`;
- await runV1MigrationsAsync(provider, artifactsDir, txDefaults);
+ const artifactsDir = `../migrations/artifacts/2.0.0`;
+ await runV2MigrationsAsync(provider, artifactsDir, txDefaults);
});