diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-07-18 16:38:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-18 16:38:07 +0800 |
commit | ab6bf6edc70d6bfd27cdb7becce838dda8720e39 (patch) | |
tree | a26b8d3c4cfaf7e8d2bb5f65d53b8a056b08985c /packages/contracts | |
parent | acff177c547dee049b97e4b051fe22e1efaf992c (diff) | |
parent | f20b496dca2dceb4f53ae20660798f8b8148a265 (diff) | |
download | dexon-sol-tools-ab6bf6edc70d6bfd27cdb7becce838dda8720e39.tar dexon-sol-tools-ab6bf6edc70d6bfd27cdb7becce838dda8720e39.tar.gz dexon-sol-tools-ab6bf6edc70d6bfd27cdb7becce838dda8720e39.tar.bz2 dexon-sol-tools-ab6bf6edc70d6bfd27cdb7becce838dda8720e39.tar.lz dexon-sol-tools-ab6bf6edc70d6bfd27cdb7becce838dda8720e39.tar.xz dexon-sol-tools-ab6bf6edc70d6bfd27cdb7becce838dda8720e39.tar.zst dexon-sol-tools-ab6bf6edc70d6bfd27cdb7becce838dda8720e39.zip |
Merge pull request #879 from 0xProject/feature/order-watcher-erc721-tests
Add ERC721 tests for order watcher v2
Diffstat (limited to 'packages/contracts')
-rw-r--r-- | packages/contracts/test/utils/forwarder_wrapper.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/test/utils/forwarder_wrapper.ts b/packages/contracts/test/utils/forwarder_wrapper.ts index d227420ee..2f41efd26 100644 --- a/packages/contracts/test/utils/forwarder_wrapper.ts +++ b/packages/contracts/test/utils/forwarder_wrapper.ts @@ -145,7 +145,7 @@ export class ForwarderWrapper { feeProportion: number, makerAssetFillAmount: BigNumber, ): Promise<BigNumber> { - const makerAssetData = assetProxyUtils.decodeAssetData(orders[0].makerAssetData); + const makerAssetData = assetProxyUtils.decodeAssetDataOrThrow(orders[0].makerAssetData); const makerAssetToken = makerAssetData.tokenAddress; const params = formatters.createMarketBuyOrders(orders, makerAssetFillAmount); |