Omniscia Olive Audit

VoteOlive Code Style Findings

VoteOlive Code Style Findings

VOE-01C: Redundant Variable Visibility

Description:

The linked variable is meant to be an internally accessible constant yet is declared as public.

Example:

contracts/vote/VoteOlive.sol
29uint256 public constant ONE_WITH_EIGHTEEN_PRECISION = 1_000_000_000_000_000_000;

Recommendation:

We advise it to be set as private or internal depending on its intended purpose.

Alleviation:

The variable has been properly set as private alleviating this exhibit.