wise-foundation / lending-audit

5 stars 4 forks source link

[WSD-02S] Inexistent Visibility Specifiers #141

Open vm06007 opened 11 months ago

vm06007 commented 11 months ago

WSD-02S: Inexistent Visibility Specifiers

Type Severity Location
Code Style WiseSecurityDeclarations.sol:L112, L117, L118, L120, L121, L122, L125, L126, L127

Description:

The linked variables have no visibility specifier explicitly set.

Example:

ICurve constant ZERO_CURVE = ICurve(

Recommendation:

We advise them to be set so to avoid potential compilation discrepancies in the future as the current behaviour is for the compiler to assign one automatically which may deviate between pragma versions.

vm06007 commented 11 months ago

Resolved in: https://github.com/wise-foundation/lending-audit/pull/134