Add ClaimQueue wrapper (#3950)

Remove `fetch_next_scheduled_on_core` in favor of new wrapper and
methods for accessing it.

---------

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
This commit is contained in:
Andrei Sandu
2024-04-03 18:01:34 +03:00
committed by GitHub
parent ecc51a2535
commit 0f4e849e0a
5 changed files with 55 additions and 32 deletions
+12
View File
@@ -0,0 +1,12 @@
title: Add `ClaimQueue` wrapper
doc:
- audience: Node Dev
description: |
Intoduces a new wrapper type: `ClaimQueueSnapshot`. It contains a snapshot of the `ClaimQueue`
at an arbitrary relay chain block. Two methods are exposed to allow access to the claims at
specific depths.
crates:
- name: polkadot-node-subsystem-util
bump: minor