aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations/src/2.0.0/migration.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/migrations/src/2.0.0/migration.ts')
-rw-r--r--packages/migrations/src/2.0.0/migration.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/migrations/src/2.0.0/migration.ts b/packages/migrations/src/2.0.0/migration.ts
index bddb020d2..e1dcea8b0 100644
--- a/packages/migrations/src/2.0.0/migration.ts
+++ b/packages/migrations/src/2.0.0/migration.ts
@@ -50,11 +50,12 @@ export const runV2MigrationsAsync = async (provider: Provider, artifactsDir: str
artifactsWriter.saveArtifact(etherToken);
// Exchange
+ const zrxAssetData = assetDataUtils.encodeERC20AssetData(zrxToken.address);
const exchange = await ExchangeContract.deployFrom0xArtifactAsync(
artifacts.Exchange,
provider,
txDefaults,
- assetDataUtils.encodeERC20AssetData(zrxToken.address),
+ zrxAssetData,
);
artifactsWriter.saveArtifact(exchange);