Skip to main content

to_wire

Function to_wire 

Source
pub fn to_wire(
    diff: &ContractDiff,
    ledger: (LedgerState, Option<&str>),
    project_root: &Path,
    index: &ProjectIndex,
    snapshots: &HashMap<PathBuf, String>,
) -> CdModel
Expand description

Lower the round’s ContractDiff (and the ledger text, if any) to the wire model.