Function polkadot_node_subsystem_util::runtime::fetch_claim_queue
source · pub async fn fetch_claim_queue(
sender: &mut impl SubsystemSender<RuntimeApiMessage>,
relay_parent: Hash,
) -> Result<Option<ClaimQueueSnapshot>, Error>
Expand description
Checks if the runtime supports request_claim_queue
and attempts to fetch the claim queue.
Returns ClaimQueueSnapshot
or None
if claim queue API is not supported by runtime.
Any specific RuntimeApiError
is bubbled up to the caller.