From e1ca54028895bd5e0cf98afb4385fdb5bb295e35 Mon Sep 17 00:00:00 2001 From: Guantong Date: Thu, 2 Mar 2023 10:29:48 +0800 Subject: [PATCH] Companion for paritytech/cumulus#2126 --- runtime/crab/src/pallets/authorship.rs | 2 -- runtime/darwinia/src/pallets/authorship.rs | 2 -- runtime/pangolin/src/pallets/authorship.rs | 2 -- runtime/pangoro/src/pallets/authorship.rs | 2 -- 4 files changed, 8 deletions(-) diff --git a/runtime/crab/src/pallets/authorship.rs b/runtime/crab/src/pallets/authorship.rs index 5b5f8109..80c21590 100644 --- a/runtime/crab/src/pallets/authorship.rs +++ b/runtime/crab/src/pallets/authorship.rs @@ -21,7 +21,5 @@ use crate::*; impl pallet_authorship::Config for Runtime { type EventHandler = (DarwiniaStaking,); - type FilterUncle = (); type FindAuthor = pallet_session::FindAccountFromAuthorIndex; - type UncleGenerations = ConstU32<0>; } diff --git a/runtime/darwinia/src/pallets/authorship.rs b/runtime/darwinia/src/pallets/authorship.rs index 5b5f8109..80c21590 100644 --- a/runtime/darwinia/src/pallets/authorship.rs +++ b/runtime/darwinia/src/pallets/authorship.rs @@ -21,7 +21,5 @@ use crate::*; impl pallet_authorship::Config for Runtime { type EventHandler = (DarwiniaStaking,); - type FilterUncle = (); type FindAuthor = pallet_session::FindAccountFromAuthorIndex; - type UncleGenerations = ConstU32<0>; } diff --git a/runtime/pangolin/src/pallets/authorship.rs b/runtime/pangolin/src/pallets/authorship.rs index 5b5f8109..80c21590 100644 --- a/runtime/pangolin/src/pallets/authorship.rs +++ b/runtime/pangolin/src/pallets/authorship.rs @@ -21,7 +21,5 @@ use crate::*; impl pallet_authorship::Config for Runtime { type EventHandler = (DarwiniaStaking,); - type FilterUncle = (); type FindAuthor = pallet_session::FindAccountFromAuthorIndex; - type UncleGenerations = ConstU32<0>; } diff --git a/runtime/pangoro/src/pallets/authorship.rs b/runtime/pangoro/src/pallets/authorship.rs index 5b5f8109..80c21590 100644 --- a/runtime/pangoro/src/pallets/authorship.rs +++ b/runtime/pangoro/src/pallets/authorship.rs @@ -21,7 +21,5 @@ use crate::*; impl pallet_authorship::Config for Runtime { type EventHandler = (DarwiniaStaking,); - type FilterUncle = (); type FindAuthor = pallet_session::FindAccountFromAuthorIndex; - type UncleGenerations = ConstU32<0>; }