From b20ae7873d3f0e9b8f5ea6d0ff3947646830dbb7 Mon Sep 17 00:00:00 2001 From: jackcpku <96861406+jackcpku@users.noreply.github.com> Date: Thu, 10 Feb 2022 18:58:43 +0800 Subject: [PATCH] Fix maximumFill in ERC721<>ERC20 tests (#69) Close #68 --- test/7-static-market-matching.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/7-static-market-matching.js b/test/7-static-market-matching.js index ff3b42a..5c12161 100644 --- a/test/7-static-market-matching.js +++ b/test/7-static-market-matching.js @@ -615,7 +615,7 @@ contract('WyvernExchange', (accounts) => [[erc20.address, erc721.address], [buyTokenId || tokenId, buyingPrice]] ) const one = {registry: registry.address, maker: account_a, staticTarget: statici.address, staticSelector: selectorOne, staticExtradata: paramsOne, maximumFill: 1, listingTime: '0', expirationTime: '10000000000', salt: '11'} - const two = {registry: registry.address, maker: account_b, staticTarget: statici.address, staticSelector: selectorTwo, staticExtradata: paramsTwo, maximumFill: buyingPrice, listingTime: '0', expirationTime: '10000000000', salt: '12'} + const two = {registry: registry.address, maker: account_b, staticTarget: statici.address, staticSelector: selectorTwo, staticExtradata: paramsTwo, maximumFill: 1, listingTime: '0', expirationTime: '10000000000', salt: '12'} const firstData = erc721c.methods.transferFrom(account_a, account_b, tokenId).encodeABI() const secondData = erc20c.methods.transferFrom(account_b, account_a, buyingPrice).encodeABI()