DeFiFoundrySolidity
16,653 OP
View results
Submission Details
Severity: low
Invalid

Wrong Naming Of Solidity Contract File

Summary

Wrong naming of Solidity contract file does not allow the compilation and building of other files

Vulnerability Details

In the `mock` folder, the `YieldTokenMock` contract was named wrongly, instead of `YieldTokenMock.sol` it was named as `YIeldTokenMock.sol`, with a capital "I". Imported into the `Setup.sol` file, it causes every other files in scope in the codebase to fail in the building and compilation process.

Impact

This effect prevents all files in scope to build or compile.

Tools Used

manual analysis

Recommendations

Consider renaming the YIeldTokenMock.sol file to YieldTokenMock.sol. This will make other files in scope to compile successfully.

- YIeldTokenMock.sol
+ YieldTokenMock.sol
Updates

Appeal created

inallhonesty Lead Judge 5 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality
inallhonesty Lead Judge 5 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

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