From da5505fed1b07b73c92f3899c342f07960c34c72 Mon Sep 17 00:00:00 2001 From: Andrei Eres Date: Wed, 9 Aug 2023 18:28:12 +0200 Subject: [PATCH] Add getting claim queue --- essentials/src/api/dynamic.rs | 4 ++-- essentials/src/api/subxt_wrapper.rs | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/essentials/src/api/dynamic.rs b/essentials/src/api/dynamic.rs index 0b0e5fb7..e6614924 100644 --- a/essentials/src/api/dynamic.rs +++ b/essentials/src/api/dynamic.rs @@ -5,9 +5,9 @@ use crate::{ polkadot_parachain::primitives::Id, polkadot_runtime_parachains::scheduler::{AssignmentKind, CoreAssignment}, }, - polkadot_primitives::{CoreIndex, GroupIndex, ValidatorIndex}, + polkadot_primitives::{CoreIndex, CoreOccupied, GroupIndex, ValidatorIndex}, }, - types::{Assignment, BlockNumber, ClaimQueue, CoreOccupied, ParasEntry}, + types::{Assignment, BlockNumber, ClaimQueue, ParasEntry}, }; use log::error; use std::collections::{BTreeMap, VecDeque}; diff --git a/essentials/src/api/subxt_wrapper.rs b/essentials/src/api/subxt_wrapper.rs index cc00996b..bbbd7be7 100644 --- a/essentials/src/api/subxt_wrapper.rs +++ b/essentials/src/api/subxt_wrapper.rs @@ -54,7 +54,6 @@ pub enum RequestType { ExtractParaInherent(subxt::blocks::Block>), /// Get the availability core scheduling information at a given block. GetScheduledParas(::Hash), - /// TODO: Fill /// Get the claim queue scheduling information at a given block. GetClaimQueue(::Hash), /// Get occupied core information at a given block.