mirror of
https://github.com/autistic-symposium/blockchains-security-toolkit.git
synced 2025-05-13 20:22:26 -04:00
369 B
369 B
arithmetic errors
- defaults:
- solidity < 0.8: integers in overflow / underflow without any errors.
- solidity >= 0.8: default behaviour of for overflow / underflow is to throw an error.
- use SafeMath to prevent arithmetic overflow and underflow.