Skip to main content

execution_proof_check

Function execution_proof_check 

Source
pub fn execution_proof_check(
    domain_block_id: <PassFatPointerAndDecode<(BlockNumber, H256)> as RIType>::Inner,
    pre_state_root: <PassPointerAndReadCopy<H256, 32> as RIType>::Inner,
    encoded_proof: <PassFatPointerAndDecode<Vec<u8>> as RIType>::Inner,
    execution_method: <PassFatPointerAndRead<&str> as RIType>::Inner,
    call_data: <PassFatPointerAndRead<&[u8]> as RIType>::Inner,
    domain_runtime_code: <PassFatPointerAndDecode<Vec<u8>> as RIType>::Inner,
) -> <AllocateAndReturnByCodec<Option<Vec<u8>>> as RIType>::Inner
Expand description

Check the execution proof with also included domain block id.