The current implementation does not provide explicit feedback when the check
function reverts.
The RegistryAdapter
contract's _checkRegistry
function calls the check
method of an IERC7484
registry without handling potential reverts explicitly. This design choice might lead to issues in terms of feedback, control, and overall user experience.
By not handling the revert, the function leaves the contract in an uncontrolled state if the registry check fails.
There is no opportunity to manage or mitigate the revert, potentially leading to unexpected contract behavior.
Manual analysis
Provide explicit error messages, making it easier for users and developers to understand when there is a revert.
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.