mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-16 08:31:14 +00:00
Properly defer slashes (#11823)
* initial draft of fixing slashing * fix test * Update frame/staking/src/tests.rs Co-authored-by: Piotr Mikołajczyk <piomiko41@gmail.com> * last touches * add more detail about unbonding * add migration * fmt Co-authored-by: Piotr Mikołajczyk <piomiko41@gmail.com> Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -477,10 +477,6 @@ pub mod pallet {
|
||||
ValueQuery,
|
||||
>;
|
||||
|
||||
/// The earliest era for which we have a pending, unapplied slash.
|
||||
#[pallet::storage]
|
||||
pub(crate) type EarliestUnappliedSlash<T> = StorageValue<_, EraIndex>;
|
||||
|
||||
/// The last planned session scheduled by the session pallet.
|
||||
///
|
||||
/// This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
|
||||
|
||||
Reference in New Issue
Block a user