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öcher
2023-01-29 22:37:49 +01:00
committed by GitHub
parent 70852e9400
commit 7cb0b94fb9
7 changed files with 189 additions and 238 deletions
+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},