mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 01:07:57 +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:
@@ -20,7 +20,7 @@
|
||||
#![warn(missing_docs)]
|
||||
|
||||
use parity_scale_codec::{Decode, Encode};
|
||||
use polkadot_primitives::v2::{BlockNumber, Hash};
|
||||
use polkadot_primitives::{BlockNumber, Hash};
|
||||
use std::{collections::HashMap, fmt};
|
||||
|
||||
#[doc(hidden)]
|
||||
@@ -139,7 +139,7 @@ impl std::ops::Deref for OurView {
|
||||
///
|
||||
/// ```
|
||||
/// # use polkadot_node_network_protocol::our_view;
|
||||
/// # use polkadot_primitives::v2::Hash;
|
||||
/// # use polkadot_primitives::Hash;
|
||||
/// let our_view = our_view![Hash::repeat_byte(1), Hash::repeat_byte(2)];
|
||||
/// ```
|
||||
#[macro_export]
|
||||
@@ -173,7 +173,7 @@ pub struct View {
|
||||
///
|
||||
/// ```
|
||||
/// # use polkadot_node_network_protocol::view;
|
||||
/// # use polkadot_primitives::v2::Hash;
|
||||
/// # use polkadot_primitives::Hash;
|
||||
/// let view = view![Hash::repeat_byte(1), Hash::repeat_byte(2)];
|
||||
/// ```
|
||||
#[macro_export]
|
||||
@@ -398,7 +398,7 @@ impl_versioned_try_from!(
|
||||
pub mod v1 {
|
||||
use parity_scale_codec::{Decode, Encode};
|
||||
|
||||
use polkadot_primitives::v2::{
|
||||
use polkadot_primitives::{
|
||||
CandidateHash, CandidateIndex, CollatorId, CollatorSignature, CompactStatement, Hash,
|
||||
Id as ParaId, UncheckedSignedAvailabilityBitfield, ValidatorIndex, ValidatorSignature,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user