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, txDefaults,
artifacts, artifacts,
exchange.address, exchange.address,
constants.NULL_ADDRESS,
); );
// tslint:disable-next-line:no-unused-variable // tslint:disable-next-line:no-unused-variable

View File

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