foundry-rs / foundry

Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
https://getfoundry.sh
Apache License 2.0
8.33k stars 1.76k forks source link

feat(`anvil`): `--cache-path` #9343

Closed yash-atreya closed 22 hours ago

yash-atreya commented 3 days ago

Motivation

Closes #3512 + Closes #8654

Solution

Introduces the --cache-path flag to anvil letting users can configure where the old state is stored

grandizzy commented 20 hours ago

looks like the test is flaky, CI fails here https://github.com/foundry-rs/foundry/actions/runs/11948242152/job/33309461327#step:12:151 I propose to remove it, @zerosnacks @yash-atreya wdyt?