referrerpolicy=no-referrer-when-downgrade
pub fn prepare_parachain_heads_proof<R, PI>(
    parachains: &[ParaId],
    parachain_head_size: u32,
    proof_params: UnverifiedStorageProofParams,
) -> (RelayBlockNumber, RelayBlockHash, ParaHeadsProof, Vec<(ParaId, ParaHash)>)
where R: Config<PI> + Config<R::BridgesGrandpaPalletInstance>, PI: 'static, <R as Config<R::BridgesGrandpaPalletInstance>>::BridgedChain: Chain<BlockNumber = RelayBlockNumber, Hash = RelayBlockHash>,
Expand description

Prepare proof of messages for the receive_messages_proof call.

In addition to returning valid messages proof, environment is prepared to verify this message proof.