mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 22:11:06 +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 @@
|
||||
|
||||
//! Code related to benchmarking a [`crate::Client`].
|
||||
|
||||
use polkadot_primitives::v2::{AccountId, Balance};
|
||||
use polkadot_primitives::{AccountId, Balance};
|
||||
use sp_core::{Pair, H256};
|
||||
use sp_keyring::Sr25519Keyring;
|
||||
use sp_runtime::OpaqueExtrinsic;
|
||||
@@ -361,14 +361,14 @@ pub fn benchmark_inherent_data(
|
||||
let timestamp = sp_timestamp::InherentDataProvider::new(d.into());
|
||||
futures::executor::block_on(timestamp.provide_inherent_data(&mut inherent_data))?;
|
||||
|
||||
let para_data = polkadot_primitives::v2::InherentData {
|
||||
let para_data = polkadot_primitives::InherentData {
|
||||
bitfields: Vec::new(),
|
||||
backed_candidates: Vec::new(),
|
||||
disputes: Vec::new(),
|
||||
parent_header: header,
|
||||
};
|
||||
|
||||
inherent_data.put_data(polkadot_primitives::v2::PARACHAINS_INHERENT_IDENTIFIER, ¶_data)?;
|
||||
inherent_data.put_data(polkadot_primitives::PARACHAINS_INHERENT_IDENTIFIER, ¶_data)?;
|
||||
|
||||
Ok(inherent_data)
|
||||
}
|
||||
|
||||
@@ -20,8 +20,7 @@
|
||||
//! There is also the [`Client`] enum that combines all the different clients into one common structure.
|
||||
|
||||
use polkadot_primitives::{
|
||||
runtime_api::ParachainHost,
|
||||
v2::{AccountId, Balance, Block, BlockNumber, Hash, Header, Nonce},
|
||||
runtime_api::ParachainHost, AccountId, Balance, Block, BlockNumber, Hash, Header, Nonce,
|
||||
};
|
||||
use sc_client_api::{AuxStore, Backend as BackendT, BlockchainEvents, KeyIterator, UsageProvider};
|
||||
use sc_executor::NativeElseWasmExecutor;
|
||||
|
||||
Reference in New Issue
Block a user