modifier onlyAdminOrDAO()
is used in setter functions in the OwnerFacet.sol
contract, however the current implementation is incorrect and prevents the functionality from working as expected.
Take a look at modifier onlyAdminOrDAO()
: here
modifier onlyAdminOrDAO()
is used to grant permissions to onlyAdmin
or DAO
in some setter functions in contracts OwnerFacet.sol. However as we see the current implementation uses &&
instead of ||
causing this function to not work as expected.
Current implementation may break functionality
Manual review
Use ||
instead of &&
in modifier onlyAdminOrDAO()
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.