Function dump_application_to_file

Source
fn dump_application_to_file(
    staged_ledger: &StagedLedger,
    block: ArcBlockWithHash,
    pred_block: AppliedBlock,
) -> Result<String>
Expand description

Save staged ledger and block to file, when the application fail. So we can easily reproduce the application both in Rust and OCaml, to compare them.