code-423n4 / 2021-09-sushimiso-findings

0 stars 0 forks source link

Consider using a solidity version >= 0.8.0 #138

Open code423n4 opened 3 years ago

code423n4 commented 3 years ago

Handle

tensors

Vulnerability details

Impact

You may want to use the most up to date version of the solidity compiler. Overflow/underflow can be disastorous when it occurs, and the most recent version checks for it automatically. You no longer need to use SafeMath. On top of this ABI coder v2 is activated by default, which supports more types when making external calls.

Recommendations

Update to >= 0.8.0 if you can.

ghoul-sol commented 3 years ago

making this a non-critical as it is best practices recommendation