mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 00:28:01 +00:00
pallet-staking: Reorg migration, pallet and pallet impls (#9410)
* Reorg migration and pallet and pallet impls * Fix imports in untouched modules * Add file headers * Add header for migrations * Improve comment * Move OnOffenceHandler impl for Pallet to impl.rs * fmt
This commit is contained in:
@@ -27,6 +27,10 @@ use rand_chacha::{
|
||||
};
|
||||
use sp_io::hashing::blake2_256;
|
||||
|
||||
use frame_support::{pallet_prelude::*, traits::Currency};
|
||||
use sp_runtime::{traits::StaticLookup, Perbill};
|
||||
use sp_std::prelude::*;
|
||||
|
||||
const SEED: u32 = 0;
|
||||
|
||||
/// This function removes all validators and nominators from storage.
|
||||
|
||||
Reference in New Issue
Block a user