Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] changeTokenBalance matcher for ERC721 and ERC1155 balances #805

Open
mr13tech opened this issue Oct 9, 2022 · 1 comment

Comments

@mr13tech
Copy link

mr13tech commented Oct 9, 2022

Is your feature request related to a problem? Please describe.
Unit tests assert change of NFT balances; It will be great to have matcher to check NFT balance change after transaction.

Describe the solution you'd like
changeTokenBalance alike matcher for NFT balances.

@rzadp
Copy link
Contributor

rzadp commented Oct 18, 2022

@mr13tech How do you imagine it working exactly?
Looking at a particular single NFT, you could have a balance of 0 or 1 - or do you have something else in mind?

Do you maybe have an existing test you could share, and then what you imagine would be a better test using new changeTokenBalance matcher, for comparision?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants