mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-23 16:35:46 +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:
@@ -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,
|
||||
¶chains_inherent_data,
|
||||
)
|
||||
.expect("Put parachains inherent data");
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
@@ -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(),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user