slither icon indicating copy to clipboard operation
slither copied to clipboard

Inconsistent results with slither and documentation

Open rpajunen opened this issue 4 years ago • 3 comments

Describe the issue:

Slither output recommends not using solc version 0.8.16 for deployment.

image

But the reference link takes to documentation that states it is a recommended version.

image

So which one is it?

Code example to reproduce the issue:

Run slither on contract that uses solc version 0.8.16.

Version:

0.8.3

Relevant log output:

solc-0.8.16 is not recommended for deployment
Reference: https://github.com/crytic/slither/wiki/Detector-Documentation#incorrect-versions-of-solidity

rpajunen avatar Nov 08 '22 13:11 rpajunen

Hi @rpajunen, thanks for the report. You seem to be using an older version of Slither, could you please upgrade to the latest version (0.9.1) and confirm if this is still an issue?

I believe the recommendations were updated around the time for the 0.9 release, so upgrading your local installation should make things consistent with what's on the reference link.

elopez avatar Nov 08 '22 14:11 elopez

Hi @elopez, I just realized I should've posted this issue to eth-security-toolbox repo as that's what I'm using to run slither. So that repo's docker image has slither v.0.8.3, that's why I don't have the latest version.

I'm going to install the latest version when I have time and post the results here. Let me know if you find out something in the mean time.

rpajunen avatar Nov 08 '22 18:11 rpajunen

Yeah I ended up installing it right away and tested with the v.0.9.1 and it's not an issue in that version.

Thanks for the quick response.

rpajunen avatar Nov 08 '22 19:11 rpajunen