referrerpolicy=no-referrer-when-downgrade

Function sp_state_machine::execution_proof_check

source ·
pub fn execution_proof_check<H, Exec>(
    root: H::Out,
    proof: StorageProof,
    overlay: &mut OverlayedChanges<H>,
    exec: &Exec,
    method: &str,
    call_data: &[u8],
    runtime_code: &RuntimeCode<'_>,
) -> Result<Vec<u8>, Box<dyn Error>>
where H: Hasher + 'static, Exec: CodeExecutor + Clone + 'static, H::Out: Ord + 'static + Codec,
Expand description

Check execution proof, generated by prove_execution call.