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