Update migrations for coordinator and exchange contracts.

This commit is contained in:
Lawrence Forman 2019-03-26 19:16:55 -04:00 committed by Amir Bandeali
parent 7a4ae74727
commit 94f5a039d2

View File

@ -22,6 +22,7 @@ export async function runMigrationsAsync(
txDefaults: TxData,
): Promise<ContractAddresses> {
const provider = providerUtils.standardizeOrThrow(supportedProvider);
const chainId = await providerUtils.getChainIdAsync(provider);
const web3Wrapper = new Web3Wrapper(provider);
// Proxies
@ -53,6 +54,7 @@ export async function runMigrationsAsync(
provider,
txDefaults,
zrxAssetData,
new BigNumber(chainId),
);
// Dummy ERC20 tokens
@ -196,6 +198,7 @@ export async function runMigrationsAsync(
provider,
txDefaults,
exchange.address,
new BigNumber(chainId),
);
const contractAddresses = {