Open penandlim opened 4 weeks ago
I think this is missing a length check on bugs_by_version
and should be something like if version_number in bugs_by_version and len(bugs_by_version):
https://github.com/crytic/slither/blob/798c1f6387ea0ce94ff792292095e4f9d0075bc9/slither/detectors/attributes/incorrect_solc.py#L74
Hey @0xalpharush, can I work on this issue?
Yes you're welcome to work on this
Hi, I have the same problem on 0.8.24.
Describe the issue:
With slither 0.10.3 on a new foundry repo w/
pragma solidity 0.8.23
, running slither reports below info message.But afaik there are no known issues for solidity 0.8.23 yet. https://solidity.readthedocs.io/en/latest/bugs.html https://github.com/crytic/slither/blob/798c1f6387ea0ce94ff792292095e4f9d0075bc9/slither/utils/buggy_versions.py#L1585-L1587
Is this the intended info message from
solc-version
detector for ^0.8.23?Code example to reproduce the issue:
Version:
0.10.3
Relevant log output: