This test only checks the case when owner sets the password.
Test doesn't check any other address except the owner's one. It is equally important to check a non-owner scenario.
This incomplete test results in the function setPassword()
to keep working and not generating an error.
Manual check.
Add a check with non-owner address, e.g. vm.startPrank(address(1))
.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.