Function sc_light::call_executor::check_execution_proof[][src]

pub fn check_execution_proof<Header, E, H>(
    executor: &E,
    spawn_handle: Box<dyn SpawnNamed>,
    request: &RemoteCallRequest<Header>,
    remote_proof: StorageProof
) -> ClientResult<Vec<u8>> where
    Header: HeaderT,
    E: CodeExecutor + Clone + 'static,
    H: Hasher,
    H::Out: Ord + Codec + 'static, 

Check remote contextual execution proof using given backend.

Method is executed using passed header as environment' current block. Proof should include both environment preparation proof and method execution proof.