pub fn prove_execution<Block, S, E>(
    state: S,
    header: Block::Header,
    executor: &E,
    method: &str,
    call_data: &[u8]
) -> ClientResult<(Vec<u8>, StorageProof)> where
    Block: BlockT,
    S: StateBackend<HashFor<Block>>,
    E: CallExecutor<Block>, 
Expand description

Prove contextual execution using given block header in environment.

Method is executed using passed header as environment’ current block. Proof includes both environment preparation proof and method execution proof.