aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-10 22:57:51 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-05-10 23:56:57 +0800
commit2e1c2d9dfeca4439435fdf1ed58504142963585a (patch)
tree3eb20636ea8531f3eade2279e66f1ef4a92152b4 /packages/migrations
parentf854f3ee2bd74bbb61ed465099168b4d391f92c8 (diff)
downloaddexon-sol-tools-2e1c2d9dfeca4439435fdf1ed58504142963585a.tar
dexon-sol-tools-2e1c2d9dfeca4439435fdf1ed58504142963585a.tar.gz
dexon-sol-tools-2e1c2d9dfeca4439435fdf1ed58504142963585a.tar.bz2
dexon-sol-tools-2e1c2d9dfeca4439435fdf1ed58504142963585a.tar.lz
dexon-sol-tools-2e1c2d9dfeca4439435fdf1ed58504142963585a.tar.xz
dexon-sol-tools-2e1c2d9dfeca4439435fdf1ed58504142963585a.tar.zst
dexon-sol-tools-2e1c2d9dfeca4439435fdf1ed58504142963585a.zip
Fix templates
Diffstat (limited to 'packages/migrations')
-rw-r--r--packages/migrations/src/migrate.ts2
-rw-r--r--packages/migrations/src/migration.ts3
2 files changed, 3 insertions, 2 deletions
diff --git a/packages/migrations/src/migrate.ts b/packages/migrations/src/migrate.ts
index fe3daed98..b00ba698f 100644
--- a/packages/migrations/src/migrate.ts
+++ b/packages/migrations/src/migrate.ts
@@ -7,7 +7,7 @@ import * as path from 'path';
import { runMigrationsAsync } from './migration';
(async () => {
- const defaults = {
+ const txDefaults = {
from: devConstants.TESTRPC_FIRST_ADDRESS,
};
const providerConfigs = { shouldUseInProcessGanache: false };
diff --git a/packages/migrations/src/migration.ts b/packages/migrations/src/migration.ts
index 2e38b59ae..96973fb62 100644
--- a/packages/migrations/src/migration.ts
+++ b/packages/migrations/src/migration.ts
@@ -3,7 +3,8 @@ import { BigNumber, NULL_BYTES } from '@0xproject/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
import * as _ from 'lodash';
-import { artifacts, ArtifactWriter } from './artifacts';
+import { ArtifactWriter } from './artifact_writer';
+import { artifacts } from './artifacts';
import { DummyTokenContract } from './contract_wrappers/dummy_token';
import { ExchangeContract } from './contract_wrappers/exchange';
import { MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddressContract } from './contract_wrappers/multi_sig_wallet_with_time_lock_except_remove_authorized_address';