Content pfp
Content
@
0 reply
0 recast
0 reaction

Jem pfp
Jem
@jem
Is there a clean way to resolve mismatched dependency versions between a parent project and dependencies (via git submodules)? When compiling, `forge` seems to use the parent project's dependencies when compiling a dependency, which often causes problems. e.g. the parent project has a git submodule for OpenZeppelin v4.9.0, but the parent project has a dependency (e.g. G-UNI) that depends on OpenZeppelin v4.1.0. When I build the parent project, it also builds G-UNI, but uses the parent project's OpenZeppelin submodule (v4.9.0), which causes errors. Does Soldeer fix this?
1 reply
0 recast
1 reaction

Pierrick pfp
Pierrick
@pierrick
How is the parent project building then? Sounds like the parent project wouldn’t be able to build either if you encounter the issue.
1 reply
0 recast
0 reaction