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 has been archived by the owner on Oct 19, 2024. It is now read-only.
Is your feature request related to a problem? Please describe.
Currently, resolving libraries is very primitive and basically only supports lookups in the configured lib folder without applying remappings.
Essentially all imports outside of the src directory rely on remappings so solc can apply them.
This means, they're not part of the cache since we don't discover them properly. Therefor changes in lib contracts can be skipped if caching is enabled
Is your feature request related to a problem? Please describe.
Currently, resolving libraries is very primitive and basically only supports lookups in the configured lib folder without applying remappings.
Essentially all imports outside of the src directory rely on remappings so solc can apply them.
This means, they're not part of the cache since we don't discover them properly. Therefor changes in lib contracts can be skipped if caching is enabled
Likely the case here foundry-rs/foundry#299
also definitely related #727
Describe the solution you'd like
Short term:
resolve_libraries
.imports
contracts for changes when checking aCacheEntry
Long term, add a proper dependency graph implementation.
The text was updated successfully, but these errors were encountered: