Companion: Remove uncles related code (#6615)

* Companion: Remove `uncles` related code

https://github.com/paritytech/substrate/pull/13216

* Fix compilation

* update lockfile for {"substrate"}

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
Bastian Köcherandparity-processbot authored and GitHub committed 2023-01-29 21:37:49 +00:00
1 parent 70852e9400
commit 7cb0b94fb9
7 files changed
+189 -238

No files matched your search

+1 -7
View File
@@ -254,14 +254,8 @@ impl pallet_timestamp::Config for Runtime {
type WeightInfo = ();
}
parameter_types! {
pub storage UncleGenerations: u32 = 0;
}
impl pallet_authorship::Config for Runtime {
type FindAuthor = pallet_session::FindAccountFromAuthorIndex<Self, Babe>;
type UncleGenerations = UncleGenerations;
type FilterUncle = ();
type EventHandler = Staking;
}
@@ -659,7 +653,7 @@ construct_runtime! {
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>},
// Consensus support.
Authorship: pallet_authorship::{Pallet, Call, Storage},
Authorship: pallet_authorship::{Pallet, Storage},
Staking: pallet_staking::{Pallet, Call, Storage, Config<T>, Event<T>},
Offences: pallet_offences::{Pallet, Storage, Event},
Historical: session_historical::{Pallet},