Incorrect revert reason in CallFacet::addCaller(...)
#273
Labels
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Something isn't working
disagree with severity
Sponsor confirms validity, but disagrees with warden’s risk assessment (sponsor explain in comments)
Handle
Czar102
Vulnerability details
Impact
Incorrect revert reason in
CallFacet::addCaller(...)#37
- there aren't"TOO_MANY_CALLERS"
, the number has only been reached. A user might think that a contract already has too many callers, which is not true.Recommended Mitigation Steps
Consider replacing
"TOO_MANY_CALLERS"
with"CALLER_LIMIT_REACHED"
.The text was updated successfully, but these errors were encountered: