From eebe2db28a57ea0cb3e7e7218e0709f49fe828c5 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Sat, 2 Nov 2019 15:29:27 +0000 Subject: [PATCH 1/2] im-online module should report offences --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 2ad04f1b0671..5469c41a76a9 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -437,7 +437,7 @@ impl im_online::Trait for Runtime { type Event = Event; type Call = Call; type SubmitTransaction = SubmitTransaction; - type ReportUnresponsiveness = (); + type ReportUnresponsiveness = Offences; } impl grandpa::Trait for Runtime { From 9bf15a3fa9d130cc774155aa874fcb2b060d569d Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Sat, 2 Nov 2019 15:30:25 +0000 Subject: [PATCH 2/2] Bump runtime --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 5469c41a76a9..6bcbbfe390fb 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -99,7 +99,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kusama"), impl_name: create_runtime_str!("parity-kusama"), authoring_version: 1, - spec_version: 1011, + spec_version: 1012, impl_version: 0, apis: RUNTIME_API_VERSIONS, };