mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 03:01:07 +00:00
frame_support::pallet_prelude: reexport StorageVersion (#11408)
* frame_support::pallet_prelude: reexport StorageVersion Signed-off-by: koushiro <koushiro.cqx@gmail.com> * cargo fmt Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
@@ -45,7 +45,7 @@ use sp_trie::{
|
||||
|
||||
use frame_support::{
|
||||
print,
|
||||
traits::{KeyOwnerProofSystem, StorageVersion, ValidatorSet, ValidatorSetWithIdentification},
|
||||
traits::{KeyOwnerProofSystem, ValidatorSet, ValidatorSetWithIdentification},
|
||||
Parameter,
|
||||
};
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ use frame_support::{
|
||||
ensure,
|
||||
traits::{
|
||||
EstimateNextNewSession, EstimateNextSessionRotation, FindAuthor, Get, OneSessionHandler,
|
||||
StorageVersion, ValidatorRegistration, ValidatorSet,
|
||||
ValidatorRegistration, ValidatorSet,
|
||||
},
|
||||
weights::Weight,
|
||||
Parameter,
|
||||
|
||||
@@ -459,7 +459,7 @@ fn test_migration_v1() {
|
||||
historical::{HistoricalSessions, StoredRange},
|
||||
mock::Historical,
|
||||
};
|
||||
use frame_support::traits::PalletInfoAccess;
|
||||
use frame_support::traits::{PalletInfoAccess, StorageVersion};
|
||||
|
||||
new_test_ext().execute_with(|| {
|
||||
assert!(<HistoricalSessions<Test>>::iter_values().count() > 0);
|
||||
|
||||
Reference in New Issue
Block a user