QA Report #257
Labels
bug
Something isn't working
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
Uninformative error message
The function
AuraVestedEscrow.fund()
doesn't require that the lengths of_recipient
and_amount
are equal. If_amount
's length is smaller than_recipient
's, there will be an array out-of-bounds error, and the function will revert with Panic error 0x32.Recommendation
Add a
require
statement to validates that these lengths are equal, and reverts with an appropriate error message in case they're not.The text was updated successfully, but these errors were encountered: