get_foundry_rpc_cache_dir

Documentation for eth_defi.testing.rpc_cache.get_foundry_rpc_cache_dir function.

get_foundry_rpc_cache_dir()

Return the Foundry fork RPC cache directory.

Returns

$FOUNDRY_RPC_CACHE_DIR if set, otherwise ~/.foundry/cache/rpc.

Return type

pathlib.Path