chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -17,7 +17,9 @@
|
||||
|
||||
use pezsc_client_api::{blockchain::Backend as _, Backend, HeaderBackend as _};
|
||||
use pezsp_blockchain::{HashAndNumber, HeaderMetadata, TreeRoute};
|
||||
use pezsp_runtime::traits::{Block as BlockT, NumberFor, One, Saturating, UniqueSaturatedInto, Zero};
|
||||
use pezsp_runtime::traits::{
|
||||
Block as BlockT, NumberFor, One, Saturating, UniqueSaturatedInto, Zero,
|
||||
};
|
||||
use std::{
|
||||
collections::{HashMap, HashSet},
|
||||
sync::Arc,
|
||||
|
||||
@@ -360,8 +360,9 @@ pub fn search_child_branches_for_parents<Block: BlockT>(
|
||||
// because they have already been posted on chain.
|
||||
let is_potential = is_pending || is_included || {
|
||||
let digest = entry.header.digest();
|
||||
let is_hash_in_ancestry_check = pezcumulus_primitives_core::extract_relay_parent(digest)
|
||||
.map_or(false, is_hash_in_ancestry);
|
||||
let is_hash_in_ancestry_check =
|
||||
pezcumulus_primitives_core::extract_relay_parent(digest)
|
||||
.map_or(false, is_hash_in_ancestry);
|
||||
let is_root_in_ancestry_check =
|
||||
pezcumulus_primitives_core::rpsr_digest::extract_relay_parent_storage_root(digest)
|
||||
.map(|(r, _n)| r)
|
||||
|
||||
@@ -20,6 +20,8 @@ use crate::*;
|
||||
use crate::teyrchain_consensus::run_teyrchain_consensus;
|
||||
use async_trait::async_trait;
|
||||
use codec::Encode;
|
||||
use futures::{channel::mpsc, executor::block_on, select, FutureExt, Stream, StreamExt};
|
||||
use futures_timer::Delay;
|
||||
use pezcumulus_client_pov_recovery::RecoveryKind;
|
||||
use pezcumulus_primitives_core::{
|
||||
relay_chain::{BlockId, BlockNumber, CoreState},
|
||||
@@ -34,8 +36,6 @@ use pezcumulus_test_client::{
|
||||
Backend, Client, InitBlockBuilder, TestClientBuilder, TestClientBuilderExt,
|
||||
};
|
||||
use pezcumulus_test_relay_sproof_builder::RelayStateSproofBuilder;
|
||||
use futures::{channel::mpsc, executor::block_on, select, FutureExt, Stream, StreamExt};
|
||||
use futures_timer::Delay;
|
||||
use pezkuwi_primitives::{CandidateEvent, HeadData};
|
||||
use pezsc_client_api::{Backend as _, UsageProvider};
|
||||
use pezsc_consensus::{BlockImport, BlockImportParams, ForkChoiceStrategy};
|
||||
|
||||
@@ -20,10 +20,10 @@ use pezsc_client_api::{
|
||||
Backend, BlockBackend, BlockImportNotification, BlockchainEvents, Finalizer, UsageProvider,
|
||||
};
|
||||
use pezsc_consensus::{BlockImport, BlockImportParams, ForkChoiceStrategy};
|
||||
use schnellru::{ByLength, LruMap};
|
||||
use pezsp_blockchain::Error as ClientError;
|
||||
use pezsp_consensus::{BlockOrigin, BlockStatus};
|
||||
use pezsp_runtime::traits::{Block as BlockT, Header as HeaderT};
|
||||
use schnellru::{ByLength, LruMap};
|
||||
|
||||
use pezcumulus_client_pov_recovery::{RecoveryKind, RecoveryRequest};
|
||||
use pezcumulus_relay_chain_interface::RelayChainInterface;
|
||||
|
||||
Reference in New Issue
Block a user