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:
Zeke Mostov authored and GitHub committed 2021-07-27 23:23:01 +00:00
1 parent 4fe55f0bcb
commit c5be63ce6d
9 files changed
+2794 -2679

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@
//!
//! Based on research at <https://w3f-research.readthedocs.io/en/latest/polkadot/slashing/npos.html>
use super::{
use crate::{
BalanceOf, Config, EraIndex, Error, Exposure, NegativeImbalanceOf, Pallet, Perbill,
SessionInterface, Store, UnappliedSlash,
};