[−][src]Function sp_state_machine::prove_execution
pub fn prove_execution<B, H, N, Exec>(
backend: B,
overlay: &mut OverlayedChanges,
exec: &Exec,
spawn_handle: Box<dyn CloneableSpawn>,
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,
Prove execution using the given state backend, overlayed changes, and call executor.