mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-16 16:41:10 +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:
@@ -4,5 +4,8 @@ Get the receipt of a candidate pending availability. This returns `Some` for any
|
||||
`availability_cores` and `None` otherwise.
|
||||
|
||||
```rust
|
||||
// Deprectated.
|
||||
fn candidate_pending_availability(at: Block, ParaId) -> Option<CommittedCandidateReceipt>;
|
||||
// Use this one
|
||||
fn candidates_pending_availability(at: Block, ParaId) -> Vec<CommittedCandidateReceipt>;
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user