Skip to content

Commit

Permalink
Fix maximumFill in ERC721<>ERC20 tests (#69)
Browse files Browse the repository at this point in the history
Close #68
  • Loading branch information
jackcpku authored Feb 10, 2022
1 parent 403f866 commit b20ae78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/7-static-market-matching.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b20ae78

Please sign in to comment.