Renamed addAssetProxy back to registerAssetProxy; this seemed to cause less confusion. Also updated the function description.

This commit is contained in:
Greg Hysen
2018-04-17 17:00:55 -07:00
committed by Amir Bandeali
parent ac0c35424b
commit ab13ce96cc
6 changed files with 33 additions and 29 deletions

View File

@@ -108,7 +108,7 @@ describe('Exchange', () => {
from: owner,
});
const prevERC20ProxyAddress = ZeroEx.NULL_ADDRESS;
await assetProxyDispatcher.addAssetProxy.sendTransactionAsync(
await assetProxyDispatcher.registerAssetProxy.sendTransactionAsync(
AssetProxyId.ERC20,
erc20Proxy.address,
prevERC20ProxyAddress,
@@ -121,7 +121,7 @@ describe('Exchange', () => {
from: owner,
});
const prevERC721ProxyAddress = ZeroEx.NULL_ADDRESS;
await assetProxyDispatcher.addAssetProxy.sendTransactionAsync(
await assetProxyDispatcher.registerAssetProxy.sendTransactionAsync(
AssetProxyId.ERC721,
erc721Proxy.address,
prevERC721ProxyAddress,