Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

N-07 Explicit visibility #423

Merged
merged 4 commits into from
May 28, 2024
Merged

N-07 Explicit visibility #423

merged 4 commits into from
May 28, 2024

Conversation

DanielVF
Copy link
Contributor

OZ Says

Throughout the codebase, there are state variables that lack an explicitly declared visibility:

The YEAR_BASE state variable in ExponentialStaking.sol
The NEW_STAKE state variable in ExponentialStaking.sol
The YEAR_BASE state variable in OgvStaking.sol
For improved clarity, consider always explicitly declaring the visibility of variables, even when the default visibility matches the intended visibility.

Changes

Explicitly set these to public visibility.

@DanielVF DanielVF merged commit 95b3443 into master May 28, 2024
3 of 4 checks passed
@DanielVF DanielVF deleted the DanielVF/n-07-state-visibility branch May 28, 2024 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants