aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations/src/migrate.ts
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-06-28 07:47:31 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-06-30 08:25:56 +0800
commitd3293a5571b64a2d807f9e71ff87497287e951e0 (patch)
tree634f86c16b812338f56d666df95a29d363eeb87d /packages/migrations/src/migrate.ts
parent854752acdf8538879c67c8bf5646c3660a49c2e0 (diff)
downloaddexon-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.ts2
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;