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

Edge cases to cover (write unit tests) #1

Open
10 tasks
Swader opened this issue Dec 17, 2020 · 0 comments
Open
10 tasks

Edge cases to cover (write unit tests) #1

Swader opened this issue Dec 17, 2020 · 0 comments

Comments

@Swader
Copy link
Contributor

Swader commented Dec 17, 2020

  • token is minted twice with same ID (example)
  • token is minted into collection which is at its limit
  • token has any interaction more than once in a block (the rule is ONE interaction per unique token per block)
  • token is double spent
  • token is double set for sale (by owner okay, update price, by anyone else, discard)
  • token is sent from address who is not the owner
  • token is sold from address who is not the owner
  • token is minted from address not in charge of collection
  • collection reassigned twice
  • collection reassigned by someone not owner
Yuripetusko pushed a commit that referenced this issue Sep 28, 2022
Sync changes from main repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant