diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-06-01 05:06:47 +0800 |
---|---|---|
committer | Greg Hysen <greg.hysen@gmail.com> | 2018-06-08 06:38:48 +0800 |
commit | e042e0ad32cd2ac9e707cb8e52961957f58314ce (patch) | |
tree | 70183e915072dc90b7b5cb1597f022368e9a0c79 /packages/contracts/test/exchange/transactions.ts | |
parent | 5db15ca54cd7e1fd90bf318d2975750dcd31cddc (diff) | |
download | dexon-sol-tools-e042e0ad32cd2ac9e707cb8e52961957f58314ce.tar dexon-sol-tools-e042e0ad32cd2ac9e707cb8e52961957f58314ce.tar.gz dexon-sol-tools-e042e0ad32cd2ac9e707cb8e52961957f58314ce.tar.bz2 dexon-sol-tools-e042e0ad32cd2ac9e707cb8e52961957f58314ce.tar.lz dexon-sol-tools-e042e0ad32cd2ac9e707cb8e52961957f58314ce.tar.xz dexon-sol-tools-e042e0ad32cd2ac9e707cb8e52961957f58314ce.tar.zst dexon-sol-tools-e042e0ad32cd2ac9e707cb8e52961957f58314ce.zip |
Converged on naming scheme for asset data: renamed all instances of assetMetadata, proxyData, proxyMetadata to assetData
Diffstat (limited to 'packages/contracts/test/exchange/transactions.ts')
-rw-r--r-- | packages/contracts/test/exchange/transactions.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/contracts/test/exchange/transactions.ts b/packages/contracts/test/exchange/transactions.ts index 7897fa558..8c5bc7bec 100644 --- a/packages/contracts/test/exchange/transactions.ts +++ b/packages/contracts/test/exchange/transactions.ts @@ -72,7 +72,7 @@ describe('Exchange transactions', () => { artifacts.Exchange, provider, txDefaults, - assetProxyUtils.encodeERC20ProxyData(zrxToken.address), + assetProxyUtils.encodeERC20AssetData(zrxToken.address), ); exchangeWrapper = new ExchangeWrapper(exchange, provider); await exchangeWrapper.registerAssetProxyAsync(AssetProxyId.ERC20, erc20Proxy.address, owner); @@ -91,8 +91,8 @@ describe('Exchange transactions', () => { exchangeAddress: exchange.address, makerAddress, feeRecipientAddress, - makerAssetData: assetProxyUtils.encodeERC20ProxyData(defaultMakerTokenAddress), - takerAssetData: assetProxyUtils.encodeERC20ProxyData(defaultTakerTokenAddress), + makerAssetData: assetProxyUtils.encodeERC20AssetData(defaultMakerTokenAddress), + takerAssetData: assetProxyUtils.encodeERC20AssetData(defaultTakerTokenAddress), }; makerPrivateKey = constants.TESTRPC_PRIVATE_KEYS[accounts.indexOf(makerAddress)]; takerPrivateKey = constants.TESTRPC_PRIVATE_KEYS[accounts.indexOf(takerAddress)]; |