wise-foundation / lending-audit

5 stars 4 forks source link

[OMR-02S] Inexistent Visibility Specifier #143

Open vm06007 opened 11 months ago

vm06007 commented 11 months ago

OMR-02S: Inexistent Visibility Specifier

Type Severity Location
Code Style OwnableMaster.sol:L13

Description:

The linked variable has no visibility specifier explicitly set.

Example:

address constant ZERO_ADDRESS = address(0x0);

Recommendation:

We advise one 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