update order-watcher to use new artifacts and abi-gen wrappers packages

This commit is contained in:
Alex Browne
2018-10-04 16:33:10 -07:00
parent 3da032fb24
commit 29063cab18
8 changed files with 43 additions and 98 deletions

View File

@@ -1,5 +1,5 @@
import { devConstants } from '@0xproject/dev-utils';
import { runV2MigrationsAsync } from '@0xproject/migrations';
import { runMigrationsAsync } from '@0xproject/migrations';
import { provider } from './utils/web3_wrapper';
@@ -12,6 +12,5 @@ before('migrate contracts', async function(): Promise<void> {
gas: devConstants.GAS_LIMIT,
from: devConstants.TESTRPC_FIRST_ADDRESS,
};
const artifactsDir = `src/artifacts`;
await runV2MigrationsAsync(provider, artifactsDir, txDefaults);
await runMigrationsAsync(provider, txDefaults);
});