Omniscia Euler Finance Audit

ConstantsLib Static Analysis Findings

ConstantsLib Static Analysis Findings

CLB-01S: Inexistent Visibility Specifier

TypeSeverityLocation
Code StyleConstantsLib.sol:L12

Description:

The linked variable has no visibility specifier explicitly set.

Example:

src/lib/ConstantsLib.sol
12uint32 constant ACTIONS_COUNTER = 1 << 6;

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.

Alleviation:

The public visibility specifier has been introduced to the referenced variable, preventing potential compilation discrepancies and addressing this exhibit.