Enable nomination pool slashing on Kusama and westend (#5661)

* enable pool slashes on Kusama and westend

* fix
This commit is contained in:
Kian Paimani authored and GitHub committed 2022-06-13 20:41:10 +00:00
1 parent f3c49cb790
commit 48385183db
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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<Runtime>;
}
+1 -1
View File
@@ -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<Runtime>;
}