mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 19:51:05 +00:00
Re-export current primitives in crate root (#6487)
* Re-export current primitives in crate root * Add missing exports * restart CI
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
use futures::{channel::oneshot, prelude::*};
|
||||
use polkadot_node_subsystem::{messages::ChainApiMessage, SubsystemSender};
|
||||
use polkadot_primitives::v2::{BlockNumber, Hash, Header};
|
||||
use polkadot_primitives::{BlockNumber, Hash, Header};
|
||||
|
||||
/// Given a new chain-head hash, this determines the hashes of all new blocks we should track
|
||||
/// metadata for, given this head.
|
||||
|
||||
@@ -40,7 +40,7 @@ pub use polkadot_node_metrics::{metrics, Metronome};
|
||||
use futures::channel::{mpsc, oneshot};
|
||||
use parity_scale_codec::Encode;
|
||||
|
||||
use polkadot_primitives::v2::{
|
||||
use polkadot_primitives::{
|
||||
AuthorityDiscoveryId, CandidateEvent, CommittedCandidateReceipt, CoreState, EncodeAs,
|
||||
GroupIndex, GroupRotationInfo, Hash, Id as ParaId, OccupiedCoreAssumption,
|
||||
PersistedValidationData, ScrapedOnChainVotes, SessionIndex, SessionInfo, Signed,
|
||||
|
||||
@@ -24,7 +24,7 @@ use kvdb::{DBKey, DBOp};
|
||||
|
||||
use parity_scale_codec::{Decode, Encode};
|
||||
pub use polkadot_node_primitives::{new_session_window_size, SessionWindowSize};
|
||||
use polkadot_primitives::v2::{BlockNumber, Hash, SessionIndex, SessionInfo};
|
||||
use polkadot_primitives::{BlockNumber, Hash, SessionIndex, SessionInfo};
|
||||
use std::sync::Arc;
|
||||
|
||||
use futures::channel::oneshot;
|
||||
@@ -594,7 +594,7 @@ mod tests {
|
||||
SubsystemContext,
|
||||
};
|
||||
use polkadot_node_subsystem_test_helpers::make_subsystem_context;
|
||||
use polkadot_primitives::v2::Header;
|
||||
use polkadot_primitives::Header;
|
||||
use sp_core::testing::TaskExecutor;
|
||||
|
||||
const SESSION_DATA_COL: u32 = 0;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
use futures::channel::oneshot;
|
||||
|
||||
use polkadot_node_subsystem::errors::RuntimeApiError;
|
||||
use polkadot_primitives::v2::SessionIndex;
|
||||
use polkadot_primitives::SessionIndex;
|
||||
|
||||
#[allow(missing_docs)]
|
||||
#[fatality::fatality(splitable)]
|
||||
|
||||
@@ -26,7 +26,7 @@ use sp_core::crypto::ByteArray;
|
||||
use sp_keystore::{CryptoStore, SyncCryptoStorePtr};
|
||||
|
||||
use polkadot_node_subsystem::{messages::RuntimeApiMessage, overseer, SubsystemSender};
|
||||
use polkadot_primitives::v2::{
|
||||
use polkadot_primitives::{
|
||||
CandidateEvent, CoreState, EncodeAs, GroupIndex, GroupRotationInfo, Hash, IndexedVec,
|
||||
OccupiedCore, ScrapedOnChainVotes, SessionIndex, SessionInfo, Signed, SigningContext,
|
||||
UncheckedSigned, ValidationCode, ValidationCodeHash, ValidatorId, ValidatorIndex,
|
||||
|
||||
Reference in New Issue
Block a user