diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-06-28 07:47:31 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-06-30 08:25:56 +0800 |
commit | d3293a5571b64a2d807f9e71ff87497287e951e0 (patch) | |
tree | 634f86c16b812338f56d666df95a29d363eeb87d /packages/migrations/src/migrate.ts | |
parent | 854752acdf8538879c67c8bf5646c3660a49c2e0 (diff) | |
download | dexon-sol-tools-d3293a5571b64a2d807f9e71ff87497287e951e0.tar dexon-sol-tools-d3293a5571b64a2d807f9e71ff87497287e951e0.tar.gz dexon-sol-tools-d3293a5571b64a2d807f9e71ff87497287e951e0.tar.bz2 dexon-sol-tools-d3293a5571b64a2d807f9e71ff87497287e951e0.tar.lz dexon-sol-tools-d3293a5571b64a2d807f9e71ff87497287e951e0.tar.xz dexon-sol-tools-d3293a5571b64a2d807f9e71ff87497287e951e0.tar.zst dexon-sol-tools-d3293a5571b64a2d807f9e71ff87497287e951e0.zip |
Fix migrations
Diffstat (limited to 'packages/migrations/src/migrate.ts')
-rw-r--r-- | packages/migrations/src/migrate.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/migrations/src/migrate.ts b/packages/migrations/src/migrate.ts index d9cc1ae01..4661e1ead 100644 --- a/packages/migrations/src/migrate.ts +++ b/packages/migrations/src/migrate.ts @@ -9,6 +9,7 @@ import { runV1MigrationsAsync } from './1.0.0/migration'; import { runV2TestnetMigrationsAsync } from './2.0.0-beta-testnet/migration'; import { runV2MigrationsAsync } from './2.0.0/migration'; +import { constants } from './utils/constants'; import { providerFactory } from './utils/provider_factory'; enum ContractVersions { @@ -39,6 +40,7 @@ const args = yargs.argv; const accounts = await web3Wrapper.getAvailableAddressesAsync(); const testnetTxDefaults = { from: accounts[0], + gas: devConstants.GAS_LIMIT, }; await runV2TestnetMigrationsAsync(ledgerProvider, artifactsDir, testnetTxDefaults); break; |