mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 00:01:09 +00:00
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:
@@ -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},
|
||||
|
||||
Reference in New Issue
Block a user