artgobblers/art-gobblers

Fix Team Limit Checks

FrankieIsLost opened this issue · 0 comments

Issue found by @rholterhus: The limit for team mint is incorrectly calculated in https://github.com/FrankieIsLost/art-gobblers/blob/master/src/ArtGobblers.sol#L326. We should check something like

numMintedForTeam / (numMintedForTeam + numMintedFromGoop) <= 0.1

And add a test to verify that we can fully mint for team