aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/exchange
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-04-18 08:00:55 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-04-21 04:56:18 +0800
commitab13ce96cccb2e3f35f3c420e0613d7fa82a3936 (patch)
tree69f2cbc4ed25380ee7025664526f270ae35a8af5 /packages/contracts/test/exchange
parentac0c35424b75bf365301819217960be2602e1c44 (diff)
downloaddexon-sol-tools-ab13ce96cccb2e3f35f3c420e0613d7fa82a3936.tar
dexon-sol-tools-ab13ce96cccb2e3f35f3c420e0613d7fa82a3936.tar.gz
dexon-sol-tools-ab13ce96cccb2e3f35f3c420e0613d7fa82a3936.tar.bz2
dexon-sol-tools-ab13ce96cccb2e3f35f3c420e0613d7fa82a3936.tar.lz
dexon-sol-tools-ab13ce96cccb2e3f35f3c420e0613d7fa82a3936.tar.xz
dexon-sol-tools-ab13ce96cccb2e3f35f3c420e0613d7fa82a3936.tar.zst
dexon-sol-tools-ab13ce96cccb2e3f35f3c420e0613d7fa82a3936.zip
Renamed addAssetProxy back to registerAssetProxy; this seemed to cause less confusion. Also updated the function description.
Diffstat (limited to 'packages/contracts/test/exchange')
-rw-r--r--packages/contracts/test/exchange/core.ts4
-rw-r--r--packages/contracts/test/exchange/wrapper.ts4
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/contracts/test/exchange/core.ts b/packages/contracts/test/exchange/core.ts
index 4e5ab4031..1e5e0b53a 100644
--- a/packages/contracts/test/exchange/core.ts
+++ b/packages/contracts/test/exchange/core.ts
@@ -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,
diff --git a/packages/contracts/test/exchange/wrapper.ts b/packages/contracts/test/exchange/wrapper.ts
index 5f1d3111b..7744d0388 100644
--- a/packages/contracts/test/exchange/wrapper.ts
+++ b/packages/contracts/test/exchange/wrapper.ts
@@ -89,7 +89,7 @@ describe('Exchange', () => {
from: owner,
});
const prevERC20ProxyAddress = ZeroEx.NULL_ADDRESS;
- await assetProxyDispatcher.addAssetProxy.sendTransactionAsync(
+ await assetProxyDispatcher.registerAssetProxy.sendTransactionAsync(
AssetProxyId.ERC20,
erc20Proxy.address,
prevERC20ProxyAddress,
@@ -102,7 +102,7 @@ describe('Exchange', () => {
from: owner,
});
const prevERC721ProxyAddress = ZeroEx.NULL_ADDRESS;
- await assetProxyDispatcher.addAssetProxy.sendTransactionAsync(
+ await assetProxyDispatcher.registerAssetProxy.sendTransactionAsync(
AssetProxyId.ERC721,
erc721Proxy.address,
prevERC721ProxyAddress,