From 48385183db3c4be153e39e6eeba4444c80965ab9 Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Mon, 13 Jun 2022 21:41:10 +0100 Subject: [PATCH] Enable nomination pool slashing on Kusama and westend (#5661) * enable pool slashes on Kusama and westend * fix --- polkadot/runtime/kusama/src/lib.rs | 2 +- polkadot/runtime/westend/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/polkadot/runtime/kusama/src/lib.rs b/polkadot/runtime/kusama/src/lib.rs index 50f64965c5..9059cd90a8 100644 --- a/polkadot/runtime/kusama/src/lib.rs +++ b/polkadot/runtime/kusama/src/lib.rs @@ -617,7 +617,7 @@ impl pallet_staking::Config for Runtime { type VoterList = VoterList; type MaxUnlockingChunks = frame_support::traits::ConstU32<32>; type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig; - type OnStakerSlash = (); + type OnStakerSlash = NominationPools; type WeightInfo = weights::pallet_staking::WeightInfo; } diff --git a/polkadot/runtime/westend/src/lib.rs b/polkadot/runtime/westend/src/lib.rs index 74d1da8eba..dcbee5ef70 100644 --- a/polkadot/runtime/westend/src/lib.rs +++ b/polkadot/runtime/westend/src/lib.rs @@ -510,7 +510,7 @@ impl pallet_staking::Config for Runtime { type VoterList = VoterList; type MaxUnlockingChunks = frame_support::traits::ConstU32<32>; type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig; - type OnStakerSlash = (); + type OnStakerSlash = NominationPools; type WeightInfo = weights::pallet_staking::WeightInfo; }