From 3f19dc1f9c79365c46ac9aad9af9088938cdbfd7 Mon Sep 17 00:00:00 2001 From: kianenigma Date: Mon, 6 Apr 2020 08:59:01 +0200 Subject: [PATCH] Enable validate unsigned --- runtime/kusama/src/lib.rs | 2 +- runtime/polkadot/src/lib.rs | 2 +- runtime/test-runtime/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 4fbd5809234f..007b2970cc8f 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -670,7 +670,7 @@ construct_runtime! { // Consensus support. Authorship: authorship::{Module, Call, Storage}, - Staking: staking::{Module, Call, Storage, Config, Event}, + Staking: staking::{Module, Call, Storage, Config, Event, ValidateUnsigned}, Offences: offences::{Module, Call, Storage, Event}, Historical: session_historical::{Module}, Session: session::{Module, Call, Storage, Event, Config}, diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 71c221ae6266..22f115e3efe5 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -602,7 +602,7 @@ construct_runtime! { // Consensus support. Authorship: authorship::{Module, Call, Storage}, - Staking: staking::{Module, Call, Storage, Config, Event}, + Staking: staking::{Module, Call, Storage, Config, Event, ValidateUnsigned}, Offences: offences::{Module, Call, Storage, Event}, Historical: session_historical::{Module}, Session: session::{Module, Call, Storage, Event, Config}, diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index fa22284e7630..e5db5f997bef 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -407,7 +407,7 @@ construct_runtime! { // Consensus support. Authorship: authorship::{Module, Call, Storage}, - Staking: staking::{Module, Call, Storage, Config, Event}, + Staking: staking::{Module, Call, Storage, Config, Event, ValidateUnsigned}, Offences: offences::{Module, Call, Storage, Event}, Historical: session_historical::{Module}, Session: session::{Module, Call, Storage, Event, Config},