Update migrations for coordinator and exchange contracts.
This commit is contained in:
parent
7a4ae74727
commit
94f5a039d2
@ -22,6 +22,7 @@ export async function runMigrationsAsync(
|
|||||||
txDefaults: TxData,
|
txDefaults: TxData,
|
||||||
): Promise<ContractAddresses> {
|
): Promise<ContractAddresses> {
|
||||||
const provider = providerUtils.standardizeOrThrow(supportedProvider);
|
const provider = providerUtils.standardizeOrThrow(supportedProvider);
|
||||||
|
const chainId = await providerUtils.getChainIdAsync(provider);
|
||||||
const web3Wrapper = new Web3Wrapper(provider);
|
const web3Wrapper = new Web3Wrapper(provider);
|
||||||
|
|
||||||
// Proxies
|
// Proxies
|
||||||
@ -53,6 +54,7 @@ export async function runMigrationsAsync(
|
|||||||
provider,
|
provider,
|
||||||
txDefaults,
|
txDefaults,
|
||||||
zrxAssetData,
|
zrxAssetData,
|
||||||
|
new BigNumber(chainId),
|
||||||
);
|
);
|
||||||
|
|
||||||
// Dummy ERC20 tokens
|
// Dummy ERC20 tokens
|
||||||
@ -196,6 +198,7 @@ export async function runMigrationsAsync(
|
|||||||
provider,
|
provider,
|
||||||
txDefaults,
|
txDefaults,
|
||||||
exchange.address,
|
exchange.address,
|
||||||
|
new BigNumber(chainId),
|
||||||
);
|
);
|
||||||
|
|
||||||
const contractAddresses = {
|
const contractAddresses = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user