pub fn to_wire(
diff: &ContractDiff,
ledger: (LedgerState, Option<&str>),
project_root: &Path,
index: &ProjectIndex,
snapshots: &HashMap<PathBuf, String>,
) -> CdModelExpand description
Lower the round’s ContractDiff (and the ledger text, if any) to the
wire model.