HardhatFoundry
30,000 USDC
View results
Submission Details
Severity: low
Invalid

`executeFromExecutor` missing return statement.

Summary

Nexus.sol: 137

The function `executeFromExecutor` is missing the return statement which will result in the function not compliling. if a function specifies a return type, it must include a return statement that returns the appropriate type. Without this, the function will not compile. Although it is stated in the comments that it will include errors in "try mode". Solidity will not compile this regardless.

Vulnerability Details

The function will not compile because the return type bytes[] memory is specified but not returned.

Impact

returning the returnData is intended but not returned. Compilation Error.

Tools Used

Recommendations

Return the intended return statement.

Updates

Lead Judging Commences

0xnevi Lead Judge
12 months ago
0xnevi Lead Judge 11 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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