mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 22:11:06 +00:00
polkadot-node-subsystem package rename mish mash cleanup (#5502)
* unify to polkadot-node-subsystem{,-test-helpers}
* chore: fmt
This commit is contained in:
committed by
GitHub
parent
b67b7fa355
commit
d437a33e0b
@@ -67,7 +67,7 @@ pub use {
|
||||
};
|
||||
|
||||
#[cfg(feature = "full-node")]
|
||||
use polkadot_subsystem::jaeger;
|
||||
use polkadot_node_subsystem::jaeger;
|
||||
|
||||
use std::{sync::Arc, time::Duration};
|
||||
|
||||
@@ -223,7 +223,7 @@ pub enum Error {
|
||||
Telemetry(#[from] telemetry::Error),
|
||||
|
||||
#[error(transparent)]
|
||||
Jaeger(#[from] polkadot_subsystem::jaeger::JaegerError),
|
||||
Jaeger(#[from] polkadot_node_subsystem::jaeger::JaegerError),
|
||||
|
||||
#[cfg(feature = "full-node")]
|
||||
#[error(transparent)]
|
||||
|
||||
@@ -39,15 +39,15 @@ use super::{HeaderProvider, HeaderProviderProvider};
|
||||
use consensus_common::{Error as ConsensusError, SelectChain};
|
||||
use futures::channel::oneshot;
|
||||
use polkadot_node_primitives::MAX_FINALITY_LAG as PRIMITIVES_MAX_FINALITY_LAG;
|
||||
use polkadot_node_subsystem::messages::{
|
||||
ApprovalVotingMessage, ChainSelectionMessage, DisputeCoordinatorMessage,
|
||||
HighestApprovedAncestorBlock,
|
||||
};
|
||||
use polkadot_node_subsystem_util::metrics::{self, prometheus};
|
||||
use polkadot_overseer::{AllMessages, Handle};
|
||||
use polkadot_primitives::v2::{
|
||||
Block as PolkadotBlock, BlockNumber, Hash, Header as PolkadotHeader,
|
||||
};
|
||||
use polkadot_subsystem::messages::{
|
||||
ApprovalVotingMessage, ChainSelectionMessage, DisputeCoordinatorMessage,
|
||||
HighestApprovedAncestorBlock,
|
||||
};
|
||||
use std::sync::Arc;
|
||||
|
||||
/// The maximum amount of unfinalized blocks we are willing to allow due to approval checking
|
||||
|
||||
@@ -18,9 +18,9 @@ use super::{relay_chain_selection::*, *};
|
||||
|
||||
use futures::channel::oneshot::Receiver;
|
||||
use polkadot_node_primitives::approval::{VRFOutput, VRFProof};
|
||||
use polkadot_node_subsystem::messages::{AllMessages, BlockDescription};
|
||||
use polkadot_node_subsystem_test_helpers as test_helpers;
|
||||
use polkadot_node_subsystem_util::TimeoutExt;
|
||||
use polkadot_subsystem::messages::{AllMessages, BlockDescription};
|
||||
use polkadot_test_client::Sr25519Keyring;
|
||||
use sp_consensus_babe::{
|
||||
digests::{CompatibleDigestItem, PreDigest, SecondaryVRFPreDigest},
|
||||
@@ -36,11 +36,11 @@ use assert_matches::assert_matches;
|
||||
use std::{sync::Arc, time::Duration};
|
||||
|
||||
use futures::{channel::oneshot, prelude::*};
|
||||
use polkadot_primitives::v2::{Block, BlockNumber, Hash, Header};
|
||||
use polkadot_subsystem::messages::{
|
||||
use polkadot_node_subsystem::messages::{
|
||||
ApprovalVotingMessage, ChainSelectionMessage, DisputeCoordinatorMessage,
|
||||
HighestApprovedAncestorBlock,
|
||||
};
|
||||
use polkadot_primitives::v2::{Block, BlockNumber, Hash, Header};
|
||||
|
||||
use polkadot_node_subsystem_test_helpers::TestSubsystemSender;
|
||||
use polkadot_overseer::{SubsystemContext, SubsystemSender};
|
||||
|
||||
Reference in New Issue
Block a user