@0x/contracts-zero-ex: Address review feedback.

This commit is contained in:
Lawrence Forman
2020-07-06 12:29:23 -04:00
parent bdc1dbf08a
commit e8106f04b5
14 changed files with 135 additions and 80 deletions

View File

@@ -73,7 +73,7 @@ export async function initialMigrateAsync(
migrator.address,
);
const _features = await deployBootstrapFeaturesAsync(provider, txDefaults, features);
await migrator.deploy(owner, zeroEx.address, _features).awaitTransactionSuccessAsync();
await migrator.initializeZeroEx(owner, zeroEx.address, _features).awaitTransactionSuccessAsync();
return zeroEx;
}
@@ -170,6 +170,6 @@ export async function fullMigrateAsync(
transformerDeployer: txDefaults.from as string,
...opts,
};
await migrator.deploy(owner, zeroEx.address, _features, _opts).awaitTransactionSuccessAsync();
await migrator.initializeZeroEx(owner, zeroEx.address, _features, _opts).awaitTransactionSuccessAsync();
return zeroEx;
}