Beginner FriendlySolidity
100 EXP
View results
Submission Details
Severity: low
Invalid

A single bad item can cause the entire transaction to fail.

Loop Contains require/revert Statements

  • Found in src/InheritanceManager.sol Line: 244

Impact

A single bad item can cause the entire transaction to fail.

Tools Used

  • Manual Code Review

Recommendations

Modify loop behavior to handle errors gracefully.

Updated Code:

for (uint256 i = 0; i < divisor; i++) {
if (!isValid(item[i])) {
failedItems.push(item[i]);
continue;
}
processItem(item[i]);
}
Updates

Lead Judging Commences

0xtimefliez Lead Judge 5 months ago
Submission Judgement Published
Invalidated
Reason: Too generic

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.