diff options
Diffstat (limited to 'packages/migrations/src/migrate.ts')
-rw-r--r-- | packages/migrations/src/migrate.ts | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/packages/migrations/src/migrate.ts b/packages/migrations/src/migrate.ts deleted file mode 100644 index d7a76d2f8..000000000 --- a/packages/migrations/src/migrate.ts +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env node -import { devConstants, web3Factory } from '@0x/dev-utils'; -import { logUtils } from '@0x/utils'; -import { Provider } from 'ethereum-types'; - -import { runMigrationsAsync } from './migration'; - -(async () => { - let providerConfigs; - let provider: Provider; - let txDefaults; - - providerConfigs = { shouldUseInProcessGanache: false }; - provider = web3Factory.getRpcProvider(providerConfigs); - txDefaults = { - from: devConstants.TESTRPC_FIRST_ADDRESS, - }; - await runMigrationsAsync(provider, txDefaults); - process.exit(0); -})().catch(err => { - logUtils.log(err); - process.exit(1); -}); |