mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-13 13:55:51 +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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user