referrerpolicy=no-referrer-when-downgrade
pub fn submit_parachain_heads<T: Config<I>, I: 'static>(
    at_relay_block: (RelayBlockNumber, RelayBlockHash),
    parachains: Vec<(ParaId, ParaHash)>,
    parachain_heads_proof: ParaHeadsProof,
)
Expand description

Submit proof of one or several parachain heads.

The proof is supposed to be proof of some Heads entries from the polkadot-runtime-parachains::paras pallet instance, deployed at the bridged chain. The proof is supposed to be crafted at the relay_header_hash that must already be imported by corresponding GRANDPA pallet at this chain.

The call fails if:

  • the pallet is halted;

  • the relay chain block at_relay_block is not imported by the associated bridge GRANDPA pallet.

The call may succeed, but some heads may not be updated e.g. because pallet knows better head or it isn’t tracked by the pallet.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::submit_parachain_heads.