foundry
foundry copied to clipboard
feat(anvil): Set anvil fork cache location (`--cache-path`)
Component
Anvil
Describe the feature you would like
Currently the cache location is fixed to ~/.foundry/anvil/rpc
. It would really simplify the workflow (for example for running fork tests on CI) if we could set custom directory for the cache location. This is related to #4989 however the issue was related to taking too much space.
Another use case would be to save cache on different drive without the need for symlinking.
Additional context
No response