Fix fast-unstake for accounts with slashing (#12963)
* Fix fast-unstake for accounts with slashing
* ".git/.scripts/fmt.sh" 1
* fmt
* fix
* fix weight tracking
* Adds tests for withdraw_unbonded with slashing
* Removes tests for withdraw_unbonded with slashing
* ".git/.scripts/fmt.sh"
* Adds slash spans calculation test for withdraw_unbonded
Co-authored-by: command-bot <>
Co-authored-by:
gpestana <g6pestana@gmail.com>
Showing
- substrate/frame/fast-unstake/src/lib.rs 8 additions, 6 deletionssubstrate/frame/fast-unstake/src/lib.rs
- substrate/frame/staking/src/pallet/impls.rs 1 addition, 1 deletionsubstrate/frame/staking/src/pallet/impls.rs
- substrate/frame/staking/src/pallet/mod.rs 2 additions, 1 deletionsubstrate/frame/staking/src/pallet/mod.rs
- substrate/frame/staking/src/tests.rs 51 additions, 0 deletionssubstrate/frame/staking/src/tests.rs
Please register or sign in to comment