You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run aderyn with this: aderyn -x mocks,harnesses,old
Scroll down to [H-1: Unprotected initializer]
See error
Screenshots
N/A
Expected behavior
Issue should not be detected, because function uses the reinitializer(2) modifier from OpenZeppelin UUPSUpgradeable lib.
Additional context
The tests in npm run test test/Upgrades.ts pass, including Reverts on running reinitialize function on V2 again, which checks that the reinitializer() modifier works as expected.
The text was updated successfully, but these errors were encountered:
Detector Title
H - Unprotected Initializer
To Reproduce
Steps to reproduce the behavior:
https://github.com/Studio-V-Tech/neulock-onchain.git
npm i
aderyn -x mocks,harnesses,old
Screenshots
N/A
Expected behavior
Issue should not be detected, because function uses the
reinitializer(2)
modifier from OpenZeppelin UUPSUpgradeable lib.Additional context
The tests in
npm run test test/Upgrades.ts
pass, includingReverts on running reinitialize function on V2 again
, which checks that thereinitializer()
modifier works as expected.The text was updated successfully, but these errors were encountered: