diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-09 22:14:01 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-12 10:37:28 +0800 |
commit | 6eebf717d5f007d3e7193d6ec0116156da5eecaa (patch) | |
tree | 296102b76b4a0091b0a16945b4199f25f5f5a8da | |
parent | 98f32d6f1ff3c94544cc3ad8bdf1df02daca3d74 (diff) | |
download | dexon-sol-tools-6eebf717d5f007d3e7193d6ec0116156da5eecaa.tar.gz dexon-sol-tools-6eebf717d5f007d3e7193d6ec0116156da5eecaa.tar.zst dexon-sol-tools-6eebf717d5f007d3e7193d6ec0116156da5eecaa.zip |
Improve migrations comment
-rw-r--r-- | packages/contracts/migrations/migrate.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/migrations/migrate.ts b/packages/contracts/migrations/migrate.ts index d541c892e..cff8af0ab 100644 --- a/packages/contracts/migrations/migrate.ts +++ b/packages/contracts/migrations/migrate.ts @@ -10,8 +10,8 @@ import { tokenInfo } from './config/token_info'; /** * Custom migrations should be defined in this function. This will be called with the CLI 'migrate' command. - * Some operations might be completed in parallel, but we don't do that on purpose. - * That way the addresses are deterministic. + * Migrations could be written to run in parallel, but if you want contract addresses to be created deterministically, + * the migration should be written to run synchronously. * @param deployer Deployer instance. */ export const runMigrationsAsync = async (deployer: Deployer) => { |