Skip to main content

find_program_ethdebug

Function find_program_ethdebug 

Source
pub fn find_program_ethdebug(
    root: &Path,
    contract_name: &str,
    environment: SourceMapEnvironment,
) -> Option<PathBuf>
Expand description

The ETHDebug program artifact for one contract and environment.

Prefers <Contract><suffix>; otherwise accepts a unique artifact whose name ends in _<Contract><suffix>, or the only artifact with that suffix in the directory, which is how a directory compiled for one contract loads with no name given.