You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
When dependencies (in lib for git submodules or dependencies for soldeer) have their own dependencies, with or without foundry.toml or remappings.txt file with remappings, those are not considered by natspec-smells for resolution.
This leads to errors CompileInferenceError: Couldn't find ...sol.
Foundry itself can resolve those remappings and dependencies as shown by running forge re, it would be nice if natspec-smells did the same.
Example:
root foundry.toml contains remappings for uniswap-permit2 and uses it as dependency
dependencies/uniswap-permit2 has a lib folder with solmate
uniswap-permit2 uses imports like solmate/src/tokens/ERC20.sol
natspec-smells can't resolve those imports to solmate