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

fix: allow Master Edition max supply to be 0 #147

Merged
merged 3 commits into from
Jan 17, 2022
Merged

Conversation

aheckmann
Copy link
Contributor

Master Editions are currently prevented by the JS SDK from having a maxSupply of 0 due to a common error (zero is falsey) found in many JavaScript programs.

This PR:

  • fixes the bug
  • adds tests proving the fix
  • updates the mintNFT tests to use our localnet to improve speed
  • renames the pause test helper to sleep, a name commonly used on various platforms for this functionality

Replaces #67

cc @kespinola

@roederw roederw merged commit 7839353 into main Jan 17, 2022
@roederw roederw deleted the aheckmann/maxSupply branch January 17, 2022 17:44
@zaxozhu
Copy link
Contributor

zaxozhu commented Jan 17, 2022

🎉 This PR is included in version 4.11.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants