mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 04:01:02 +00:00
Runtime API: introduce candidates_pending_availability (#4027)
Fixes https://github.com/paritytech/polkadot-sdk/issues/3576 Required by elastic scaling collators. Deprecates old API: `candidate_pending_availability`. TODO: - [x] PRDoc --------- Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
This commit is contained in:
@@ -288,5 +288,10 @@ sp_api::decl_runtime_apis! {
|
||||
/// Claim queue
|
||||
#[api_version(11)]
|
||||
fn claim_queue() -> BTreeMap<CoreIndex, VecDeque<ppp::Id>>;
|
||||
|
||||
/***** Added in v11 *****/
|
||||
/// Elastic scaling support
|
||||
#[api_version(11)]
|
||||
fn candidates_pending_availability(para_id: ppp::Id) -> Vec<CommittedCandidateReceipt<Hash>>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user