aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-watcher/test/global_hooks.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-25 01:56:31 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-05-25 04:59:30 +0800
commit92b0efff5abaac8bea468a1b3f897d004ec9c542 (patch)
tree61e976aa42b78e7eea12f73fb2ccc4a5ad1f9ceb /packages/order-watcher/test/global_hooks.ts
parent62431fee8e0c79a61f7ebb7677e6c88f0ae95116 (diff)
downloaddexon-sol-tools-92b0efff5abaac8bea468a1b3f897d004ec9c542.tar.gz
dexon-sol-tools-92b0efff5abaac8bea468a1b3f897d004ec9c542.tar.zst
dexon-sol-tools-92b0efff5abaac8bea468a1b3f897d004ec9c542.zip
Migrate migrations to v2
Diffstat (limited to 'packages/order-watcher/test/global_hooks.ts')
-rw-r--r--packages/order-watcher/test/global_hooks.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/order-watcher/test/global_hooks.ts b/packages/order-watcher/test/global_hooks.ts
index d4d033dd4..1df80533c 100644
--- a/packages/order-watcher/test/global_hooks.ts
+++ b/packages/order-watcher/test/global_hooks.ts
@@ -1,5 +1,5 @@
import { devConstants } from '@0xproject/dev-utils';
-import { runMigrationsAsync } from '@0xproject/migrations';
+import { runV1MigrationsAsync } from '@0xproject/migrations';
import 'make-promises-safe';
import * as path from 'path';
@@ -16,5 +16,5 @@ before('migrate contracts', async function(): Promise<void> {
from: devConstants.TESTRPC_FIRST_ADDRESS,
};
const artifactsDir = `../migrations/artifacts/1.0.0`;
- await runMigrationsAsync(provider, artifactsDir, txDefaults);
+ await runV1MigrationsAsync(provider, artifactsDir, txDefaults);
});