foundry icon indicating copy to clipboard operation
foundry copied to clipboard

feat(anvil): Set anvil fork cache location (`--cache-path`)

Open Szymx95 opened this issue 6 months ago • 3 comments

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

Szymx95 avatar Aug 13 '24 09:08 Szymx95