The function _getPenalizedUnderlying defined in both the unripeFacet contract and the LibUnripe library have the same function signature, resulting in a function selector clash. This can lead to unintended consequences in the diamond proxy pattern, where the diamond's behavior may not match the expected functionality due to the overridden function.
more here:
https://eips.ethereum.org/EIPS/eip-2535
Enter this:
output
The function selector clash can cause unexpected behavior in the diamond proxy pattern. When trying to add a new function to the diamond, if the function signature matches an existing function in one of the facets or libraries, it will override that function instead of adding a new one. This can lead to inconsistencies in the diamond's behavior and may result in unexpected errors or vulnerabilities.
Manual Review
To mitigate the function selector clash, review the function signatures in both the unripeFacet contract and the LibUnripe library to ensure they are unique. Modify one of the function signatures to resolve the clash and prevent unintended overrides in the diamond proxy pattern.
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.