diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-27 16:24:26 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-29 22:52:52 +0800 |
commit | 073e76ee9097f0167b295458521782c483f6f452 (patch) | |
tree | 953233a4fab20c96bea8b6cae7aa4c029566b50f /packages/contract-wrappers/test/global_hooks.ts | |
parent | ceba82260fbe154a01e86c4d025e0a9f491a1bf7 (diff) | |
download | dexon-0x-contracts-073e76ee9097f0167b295458521782c483f6f452.tar dexon-0x-contracts-073e76ee9097f0167b295458521782c483f6f452.tar.gz dexon-0x-contracts-073e76ee9097f0167b295458521782c483f6f452.tar.bz2 dexon-0x-contracts-073e76ee9097f0167b295458521782c483f6f452.tar.lz dexon-0x-contracts-073e76ee9097f0167b295458521782c483f6f452.tar.xz dexon-0x-contracts-073e76ee9097f0167b295458521782c483f6f452.tar.zst dexon-0x-contracts-073e76ee9097f0167b295458521782c483f6f452.zip |
Run V2 migrations instead of V1 before tests
Diffstat (limited to 'packages/contract-wrappers/test/global_hooks.ts')
-rw-r--r-- | packages/contract-wrappers/test/global_hooks.ts | 6 |
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); }); |