Move EraIndex to sp-staking (#10671)

* Move `EraIndex` to sp-staking

* Fix imports in mocks

* Run cargo +nightly-2021-10-29 fmt
This commit is contained in:
Zeke Mostov authored and GitHub committed 2022-01-17 02:15:18 +00:00
1 parent 0bca06a483
commit 16212851c6
8 files changed
+16 -18

No files matched your search

+3
View File
@@ -24,3 +24,6 @@ pub mod offence;
/// Simple index type with which we can count sessions.
pub type SessionIndex = u32;
/// Counter for the number of eras that have passed.
pub type EraIndex = u32;