mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 22:11:02 +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:
@@ -17,7 +17,7 @@
|
||||
use super::*;
|
||||
use frame_support::{assert_err, assert_ok, assert_storage_noop};
|
||||
use keyring::Sr25519Keyring;
|
||||
use primitives::v2::{BlockNumber, ValidatorId, PARACHAIN_KEY_TYPE_ID};
|
||||
use primitives::{BlockNumber, ValidatorId, PARACHAIN_KEY_TYPE_ID};
|
||||
use sc_keystore::LocalKeystore;
|
||||
use sp_keystore::{SyncCryptoStore, SyncCryptoStorePtr};
|
||||
use std::sync::Arc;
|
||||
@@ -114,10 +114,7 @@ fn check_code_is_not_stored(validation_code: &ValidationCode) {
|
||||
/// An utility for checking that certain events were deposited.
|
||||
struct EventValidator {
|
||||
events: Vec<
|
||||
frame_system::EventRecord<
|
||||
<Test as frame_system::Config>::RuntimeEvent,
|
||||
primitives::v2::Hash,
|
||||
>,
|
||||
frame_system::EventRecord<<Test as frame_system::Config>::RuntimeEvent, primitives::Hash>,
|
||||
>,
|
||||
}
|
||||
|
||||
@@ -1694,7 +1691,7 @@ fn add_trusted_validation_code_enacts_existing_pvf_vote() {
|
||||
|
||||
#[test]
|
||||
fn verify_upgrade_go_ahead_signal_is_externally_accessible() {
|
||||
use primitives::v2::well_known_keys;
|
||||
use primitives::well_known_keys;
|
||||
|
||||
let a = ParaId::from(2020);
|
||||
|
||||
@@ -1710,7 +1707,7 @@ fn verify_upgrade_go_ahead_signal_is_externally_accessible() {
|
||||
|
||||
#[test]
|
||||
fn verify_upgrade_restriction_signal_is_externally_accessible() {
|
||||
use primitives::v2::well_known_keys;
|
||||
use primitives::well_known_keys;
|
||||
|
||||
let a = ParaId::from(2020);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user