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
@@ -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);