If the only difference between cached vs current solc config is outputSelection which is a subset of the cached output selection, then it's safe to use cached artifact.
I am currently adding logic to foundry to request only abi output and it would be nice if we could use cached abi where possible.
Impl is pretty ugly, but not sure how to make it better without cloning
If the only difference between cached vs current solc config is
outputSelection
which is a subset of the cached output selection, then it's safe to use cached artifact.I am currently adding logic to foundry to request only abi output and it would be nice if we could use cached abi where possible.
Impl is pretty ugly, but not sure how to make it better without cloning