Closed AuHau closed 1 year ago
As far as I know, this is not necessary because we're using Solidity 0.8.x, which has overflow and underflow protection by default: https://docs.soliditylang.org/en/latest/080-breaking-changes.html
Oh sweet! Did not know that was part of it now :-) Yeah makes sense :-) Closing it then.
This would prevent all the potential overflow scenario and potentially other bugs:
https://docs.openzeppelin.com/contracts/3.x/api/math