Open code423n4 opened 3 years ago
Not a code error, it's related to the selective import of files into this repo.
This only impacts some tools such as Hardhat. When using Brownie, this issue was not present.
It was also fixed in the hardhat branch as stated in the README.
Other wardens reported this as a single issue. I'm going to merge #11 #12 #13 and #14 into a single issue #11
Handle
tabish
Vulnerability details
Impact
Detailed description of the impact of this finding. Error HH409: Trying to import ./interfaces/univ3/IUniswapV3Helper.sol from contracts/LendingPair.sol, but it has an incorrect casing. https://github.com/code-423n4/2021-09-wildcredit/blob/c48235289a25b2134bb16530185483e8c85507f8/contracts/LendingPair.sol#L13
Recommended Mitigation Steps
import should be
import ./interfaces/uniV3/IUniswapV3Helper.sol