diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-25 01:56:31 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-25 04:59:30 +0800 |
commit | 92b0efff5abaac8bea468a1b3f897d004ec9c542 (patch) | |
tree | 61e976aa42b78e7eea12f73fb2ccc4a5ad1f9ceb /packages/contract-wrappers | |
parent | 62431fee8e0c79a61f7ebb7677e6c88f0ae95116 (diff) | |
download | dexon-0x-contracts-92b0efff5abaac8bea468a1b3f897d004ec9c542.tar dexon-0x-contracts-92b0efff5abaac8bea468a1b3f897d004ec9c542.tar.gz dexon-0x-contracts-92b0efff5abaac8bea468a1b3f897d004ec9c542.tar.bz2 dexon-0x-contracts-92b0efff5abaac8bea468a1b3f897d004ec9c542.tar.lz dexon-0x-contracts-92b0efff5abaac8bea468a1b3f897d004ec9c542.tar.xz dexon-0x-contracts-92b0efff5abaac8bea468a1b3f897d004ec9c542.tar.zst dexon-0x-contracts-92b0efff5abaac8bea468a1b3f897d004ec9c542.zip |
Migrate migrations to v2
Diffstat (limited to 'packages/contract-wrappers')
-rw-r--r-- | packages/contract-wrappers/package.json | 2 | ||||
-rw-r--r-- | packages/contract-wrappers/test/global_hooks.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json index 6183bb701..9185ab46f 100644 --- a/packages/contract-wrappers/package.json +++ b/packages/contract-wrappers/package.json @@ -81,7 +81,7 @@ "@0xproject/fill-scenarios": "^0.0.2", "@0xproject/json-schemas": "0.7.22", "@0xproject/order-utils": "^0.0.5", - "@0xproject/types": "^0.7.0", + "@0xproject/types": "0.7.0", "@0xproject/typescript-typings": "^0.3.2", "@0xproject/utils": "^0.6.2", "@0xproject/web3-wrapper": "^0.6.4", diff --git a/packages/contract-wrappers/test/global_hooks.ts b/packages/contract-wrappers/test/global_hooks.ts index fa1dfae38..d9768e61c 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 { runMigrationsAsync } from '@0xproject/migrations'; +import { runV1MigrationsAsync } from '@0xproject/migrations'; import * as path from 'path'; import { constants } from './utils/constants'; @@ -15,5 +15,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); }); |