aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations/src/2.0.0
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-08-22 01:15:45 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-08-22 04:53:44 +0800
commit7fa5b474ebac649b6a23c8b9108e07c117dcc00b (patch)
tree2427772c0c2ca2d2661349dd6ea82d6ab92be5df /packages/migrations/src/2.0.0
parent3d25758b1d107528b0bc8a578e3c5ecf020395b3 (diff)
downloaddexon-0x-contracts-7fa5b474ebac649b6a23c8b9108e07c117dcc00b.tar.gz
dexon-0x-contracts-7fa5b474ebac649b6a23c8b9108e07c117dcc00b.tar.zst
dexon-0x-contracts-7fa5b474ebac649b6a23c8b9108e07c117dcc00b.zip
Add ZRX balances and allowances to TraderInfo
Diffstat (limited to 'packages/migrations/src/2.0.0')
-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);