This results in broken imports in Forge Std files:
Error (6275): Source "dependencies/forge-std-1.9.1/mocks/MockERC721.sol" not found: File not found. Searched the following locations: "/path/to/codebase".
ParserError: Source "dependencies/forge-std-1.9.1/mocks/MockERC721.sol" not found: File not found. Searched the following locations: "/path/to/codebase".
--> dependencies/forge-std-1.9.1/StdUtils.sol:8:1:
|
8 | import {MockERC721} from "./mocks/MockERC721.sol";
|
this was an issue with pushing dependencies with custom paths by the crawler. Should be solved already, you need to reinstall the dependency, a fix for this to not happen will be in the next release
It seems that Soldeer 'unpacks'
src
/contracts
directories of installed dependencies.But, Forge Std also loses its directory structure:
This results in broken imports in Forge Std files:
Am I doing something wrong, perhaps?