pub fn prove_execution<B, H, Exec>(
    backend: &mut B,
    overlay: &mut OverlayedChanges<H>,
    exec: &Exec,
    method: &str,
    call_data: &[u8],
    runtime_code: &RuntimeCode<'_>
) -> Result<(Vec<u8>, StorageProof), Box<dyn Error>>where
    B: AsTrieBackend<H>,
    H: Hasher,
    H::Out: Ord + 'static + Codec,
    Exec: CodeExecutor + Clone + 'static,
Expand description

Prove execution using the given state backend, overlayed changes, and call executor.