Files
pezkuwi-subxt/prdoc/pr_3580.prdoc
T
Tsvetomir Dimitrov e58e854a32 Expose ClaimQueue via a runtime api and use it in collation-generation (#3580)
The PR adds two things:
1. Runtime API exposing the whole claim queue
2. Consumes the API in `collation-generation` to fetch the next
scheduled `ParaEntry` for an occupied core.

Related to https://github.com/paritytech/polkadot-sdk/issues/1797
2024-03-20 06:55:58 +00:00

14 lines
589 B
Plaintext

# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: Expose `ClaimQueue` via a runtime api and consume it in `collation-generation`
doc:
- audience: Node Dev
description: |
Creates a new runtime api exposing the `ClaimQueue` from `scheduler` pallet. Consume the api
in collation generation (if available) by getting what's scheduled on a core from the
`ClaimQueue` instead of from `next_up_on_available` (from `AvailabilityCores` runtime api).
crates: [ ]