diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-10 22:57:51 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-10 23:56:57 +0800 |
commit | 2e1c2d9dfeca4439435fdf1ed58504142963585a (patch) | |
tree | 3eb20636ea8531f3eade2279e66f1ef4a92152b4 /packages/migrations | |
parent | f854f3ee2bd74bbb61ed465099168b4d391f92c8 (diff) | |
download | dexon-sol-tools-2e1c2d9dfeca4439435fdf1ed58504142963585a.tar.gz 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.ts | 2 | ||||
-rw-r--r-- | packages/migrations/src/migration.ts | 3 |
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'; |