Skip to content

Conversation

@rubeecube
Copy link

Minor modification to prevent under/overflows (in mint function in case the parameters are set badly by an owner).

https://blog.soliditylang.org/2020/12/16/solidity-v0.8.0-release-announcement/ > "The change that will affect most users is that arithmetic operations are now checked by default, which means that overflow and underflow will cause a revert. This feature can be disabled locally by using an unchecked block."

@rubeecube rubeecube changed the title Force solidity verion > 0.8.0 to protect against under/overflows Force solidity version > 0.8.0 to protect against under/overflows Jan 30, 2022
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.

1 participant