pub fn prove_execution<B, H, Exec, Spawn>(
    backend: &mut B,
    overlay: &mut OverlayedChanges,
    exec: &Exec,
    spawn_handle: Spawn,
    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,
    Spawn: SpawnNamed + Send + 'static,
Expand description

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