Skip to main content

source_selected_logical_contract

Function source_selected_logical_contract 

Source
pub fn source_selected_logical_contract(
    app_root: &Path,
    runtime_conf_path: Option<&Path>,
    app_id: &str,
    build_dir: Option<&Path>,
) -> Result<Option<AppDataContract>, DatabaseError>
Expand description

Materializes manifest-selected source through the compiler, then uses the JSON-only loader. Database operators need a validated contract artifact, not unrelated UI build inputs.