Skip to content

[False-Positive]: constable-states false positive introduced in 0.11.0 #2659

Open
@arr00

Description

@arr00

Describe the false alarm that Slither raise and how you know it's inaccurate:

See this action run. There is a new false positive introduced in 0.11.0 where the strings mentioned below are now tagged for being constable.

Frequency

Occasionally

Code example to reproduce the issue:

https://github.com/OpenZeppelin/openzeppelin-contracts/blob/19c2f2f5a5ea43e18dfff2b92b54b76815783d93/contracts/utils/cryptography/EIP712.sol#L51-L52

Version:

0.11.0

Relevant log output:

EIP712._nameFallback (contracts/utils/cryptography/EIP712.sol#51) should be constant 
EIP712._versionFallback (contracts/utils/cryptography/EIP712.sol#52) should be constant

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions