code-423n4 / 2022-01-yield-findings

1 stars 0 forks source link

Upgrade pragma to at least 0.8.4 #16

Closed code423n4 closed 2 years ago

code423n4 commented 2 years ago

Handle

robee

Vulnerability details

Using newer compiler versions and the optimizer gives gas optimizations and additional safety checks are available for free.

    AggregatorV3Interface.sol
alcueca commented 2 years ago

On an interface? Which is 0.6+ and the rest of the code is 0.8.6, implying that the whole thing will be compiled with 0.8.6?

GalloDaSballo commented 2 years ago

The code does end up resolving to the correct version, additionally changing to a fixed pragma is not a vulnerability unless you have a specific vulnerability (and poc) demonstrating it. Marking as invalid