From 5c860f9b40f073ef928fa391db57e66b1a443a9d Mon Sep 17 00:00:00 2001 From: Aleksandr Krupenkin Date: Fri, 27 Aug 2021 21:34:21 +0900 Subject: [PATCH] Fix validator offences (#389) --- bin/node/runtime/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/node/runtime/src/lib.rs b/bin/node/runtime/src/lib.rs index 7a465d1bf4..f8593f37cc 100644 --- a/bin/node/runtime/src/lib.rs +++ b/bin/node/runtime/src/lib.rs @@ -78,7 +78,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // and set impl_version to equal spec_version. If only runtime // implementation changes and behavior does not, then leave spec_version as // is and increment impl_version. - spec_version: 2, + spec_version: 3, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1, @@ -472,7 +472,7 @@ parameter_types! { impl pallet_offences::Config for Runtime { type Event = Event; type IdentificationTuple = pallet_session::historical::IdentificationTuple; - type OnOffenceHandler = (); + type OnOffenceHandler = Staking; type WeightSoftLimit = OffencesWeightSoftLimit; }