Skip to main content

remove_bytecode_dependencies

Function remove_bytecode_dependencies 

Source
pub(crate) fn remove_bytecode_dependencies(
    gcx: Gcx<'_>,
    deps: &PreprocessorDependencies,
    data: &BTreeMap<ContractId, ContractData>,
    root_dir: &Path,
    use_uint160_return: bool,
) -> Updates
Expand description

Goes over all test/script files and replaces bytecode dependencies with cheatcode invocations.

Try deployments remain native to preserve their constructor failure boundaries.