Fix Ganache migrations

This commit is contained in:
Amir 2020-01-11 17:28:15 -08:00
parent 6afa9c8b92
commit 25dfd47d32
3 changed files with 46 additions and 18 deletions

File diff suppressed because one or more lines are too long

View File

@ -175,6 +175,7 @@ export async function runMigrationsAsync(
txDefaults,
artifacts,
exchange.address,
constants.NULL_ADDRESS,
);
// tslint:disable-next-line:no-unused-variable

View File

@ -113,7 +113,7 @@ export async function runMigrationsAsync(supportedProvider: SupportedProvider, t
assetProxyArtifacts,
);
await ChaiBridgeContract.deployFrom0xArtifactAsync(
const chaiBridge = await ChaiBridgeContract.deployFrom0xArtifactAsync(
assetProxyArtifacts.ChaiBridge,
provider,
txDefaults,
@ -251,6 +251,7 @@ export async function runMigrationsAsync(supportedProvider: SupportedProvider, t
txDefaults,
devUtilsArtifacts,
exchange.address,
chaiBridge.address,
);
await CoordinatorContract.deployFrom0xArtifactAsync(