You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The same for the other warning which has no dangerous equality except if you want to refer to newContract.code.length == 0 for the codesize check maybe, but in that case the detector message must be improved IMO:
got similar issue that slither . started complaining uses timestamp for comparisons on many non-timestamp variable comparisons.
I've realized that when the timestamp comparison occurs within a single function and that function is called throughout the codebase, slither may generate false-positive detections to all the variables. Perhaps it's more effective to simply highlight the line where the timestamp comparison occurs and be able to just disable-next-line on that line.
Describe the false alarm that Slither raise and how you know it's inaccurate:
Clone
CreateX
before commit pcaversaccio/createx@b60005c and runslither .
with the latest Slither version0.10.2
:These false positives have not been present in the previous versions. So, I guess this is a new regression.
Examples:
Maybe Slither wants to point to the following (non-issues in my context) (link):
_generateSalt()
usesblock.timestamp
under the hood. So maybe the description is simply off:The same for the other warning which has no dangerous equality except if you want to refer to
newContract.code.length == 0
for the codesize check maybe, but in that case the detector message must be improved IMO:Frequency
Very Frequently
Code example to reproduce the issue:
See
CreateX
.Version:
0.10.2
Relevant log output:
No response
The text was updated successfully, but these errors were encountered: