diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-28 00:32:48 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-28 00:32:48 +0800 |
commit | 133b6fe2409930252ee332b95a14e837ed9b84e4 (patch) | |
tree | 38ffdcbf705a5196ef9c52579eb4d2c2a75828fb /packages/migrations/src | |
parent | c824fe8718b8893ef64707c52a47590b8b79735a (diff) | |
download | dexon-sol-tools-133b6fe2409930252ee332b95a14e837ed9b84e4.tar dexon-sol-tools-133b6fe2409930252ee332b95a14e837ed9b84e4.tar.gz dexon-sol-tools-133b6fe2409930252ee332b95a14e837ed9b84e4.tar.bz2 dexon-sol-tools-133b6fe2409930252ee332b95a14e837ed9b84e4.tar.lz dexon-sol-tools-133b6fe2409930252ee332b95a14e837ed9b84e4.tar.xz dexon-sol-tools-133b6fe2409930252ee332b95a14e837ed9b84e4.tar.zst dexon-sol-tools-133b6fe2409930252ee332b95a14e837ed9b84e4.zip |
Encode ZRX address as needed.
Diffstat (limited to 'packages/migrations/src')
-rw-r--r-- | packages/migrations/src/v2/migration.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/migrations/src/v2/migration.ts b/packages/migrations/src/v2/migration.ts index f77063a1b..e1c62c838 100644 --- a/packages/migrations/src/v2/migration.ts +++ b/packages/migrations/src/v2/migration.ts @@ -1,3 +1,4 @@ +import { assetProxyUtils } from '@0xproject/order-utils'; import { BigNumber } from '@0xproject/utils'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; import { Provider, TxData } from 'ethereum-types'; @@ -51,7 +52,7 @@ export const runV2MigrationsAsync = async (provider: Provider, artifactsDir: str artifacts.Exchange, provider, txDefaults, - zrxToken.address, + assetProxyUtils.encodeERC20AssetData(zrxToken.address), ); artifactsWriter.saveArtifact(exchange); |