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 mint prevention issue #340

Merged
merged 1 commit into from
Apr 9, 2024
Merged

Conversation

matejos
Copy link
Contributor

@matejos matejos commented Apr 9, 2024

User could mint _totalSupplyAll - type(uint256).max amount of tokens, which brings the _totalSupplyAll to its maximum value, preventing any further mints because of overflow error.

User could mint `_totalSupplyAll - type(uint256).max` amount of tokens, which brings the `_totalSupplyAll` to its maximum value, preventing any further mints because of overflow error.
@matejos matejos requested a review from SebastienGllmt April 9, 2024 14:15
@matejos matejos merged commit 1ab9da3 into master Apr 9, 2024
@matejos matejos deleted the prc3-fix-mint-prevention-issue branch April 9, 2024 14:25
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

Successfully merging this pull request may close these issues.

2 participants