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

0 stars 0 forks source link

Consider using a solidity version >= 0.8.0 #152

Closed code423n4 closed 2 years ago

code423n4 commented 2 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.

GainsGoblin commented 2 years ago

Duplicate of #29

GalloDaSballo commented 2 years ago

Duplicate of #29