pub(crate) fn write_file<FEN: FoundryEvmNetwork>(
state: &Cheatcodes<FEN>,
path: &Path,
contents: &[u8],
) -> Resultpub(crate) fn write_file<FEN: FoundryEvmNetwork>(
state: &Cheatcodes<FEN>,
path: &Path,
contents: &[u8],
) -> Result