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:
s0me0ne-unkn0wn
2023-01-11 12:28:12 +01:00
committed by GitHub
parent b0f79c2039
commit 1cb1d03c08
221 changed files with 399 additions and 397 deletions
@@ -16,7 +16,7 @@
use crate::{Client, FullBackend};
use parity_scale_codec::{Decode, Encode};
use polkadot_primitives::v2::{Block, InherentData as ParachainsInherentData};
use polkadot_primitives::{Block, InherentData as ParachainsInherentData};
use polkadot_test_runtime::{GetLastTimestamp, UncheckedExtrinsic};
use sc_block_builder::{BlockBuilder, BlockBuilderProvider};
use sp_api::ProvideRuntimeApi;
@@ -111,7 +111,7 @@ impl InitPolkadotBlockBuilder for Client {
inherent_data
.put_data(
polkadot_primitives::v2::PARACHAINS_INHERENT_IDENTIFIER,
polkadot_primitives::PARACHAINS_INHERENT_IDENTIFIER,
&parachains_inherent_data,
)
.expect("Put parachains inherent data");
+1 -1
View File
@@ -20,7 +20,7 @@
mod block_builder;
use polkadot_primitives::v2::Block;
use polkadot_primitives::Block;
use sc_service::client;
use sp_core::storage::Storage;
use sp_runtime::BuildStorage;
+1 -1
View File
@@ -19,7 +19,7 @@
use babe_primitives::AuthorityId as BabeId;
use grandpa::AuthorityId as GrandpaId;
use pallet_staking::Forcing;
use polkadot_primitives::v2::{AccountId, AssignmentId, ValidatorId, MAX_CODE_SIZE, MAX_POV_SIZE};
use polkadot_primitives::{AccountId, AssignmentId, ValidatorId, MAX_CODE_SIZE, MAX_POV_SIZE};
use polkadot_service::chain_spec::{
get_account_id_from_seed, get_from_seed, polkadot_chain_spec_properties, Extensions,
};
+2 -2
View File
@@ -25,7 +25,7 @@ use futures::future::Future;
use polkadot_node_primitives::{CollationGenerationConfig, CollatorFn};
use polkadot_node_subsystem::messages::{CollationGenerationMessage, CollatorProtocolMessage};
use polkadot_overseer::Handle;
use polkadot_primitives::v2::{Balance, CollatorPair, HeadData, Id as ParaId, ValidationCode};
use polkadot_primitives::{Balance, CollatorPair, HeadData, Id as ParaId, ValidationCode};
use polkadot_runtime_common::BlockHashCount;
use polkadot_runtime_parachains::paras::{ParaGenesisArgs, ParaKind};
use polkadot_service::{
@@ -381,7 +381,7 @@ pub fn construct_extrinsic(
UncheckedExtrinsic::new_signed(
function.clone(),
polkadot_test_runtime::Address::Id(caller.public().into()),
polkadot_primitives::v2::Signature::Sr25519(signature.clone()),
polkadot_primitives::Signature::Sr25519(signature.clone()),
extra.clone(),
)
}