Function sp_state_machine::prove_execution[][src]

pub fn prove_execution<B, H, N, 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: Backend<H>,
    H: Hasher,
    H::Out: Ord + 'static + Codec,
    Exec: CodeExecutor + Clone + 'static,
    N: BlockNumber,
    Spawn: SpawnNamed + Send + 'static, 
Expand description

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