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

No-04 Disable initializer in LidoARM's constructor #43

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

naddison36
Copy link
Collaborator

The LidoARM contract was written to be an implementation contract for a proxy contract. A best practice with this pattern is to disable as much as possible in the implementation contract to minimize the attack surface area.

Consider calling _disableInitializers() in Initializable contract constructors to prevent malicious actors from front-running initialization.

@naddison36 naddison36 merged commit a3526b0 into main Dec 9, 2024
2 checks passed
@naddison36 naddison36 deleted the nicka/oz-lido-n04 branch December 9, 2024 11:45
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