mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 17:01:09 +00:00
Companion: Remove uncles related code (#2126)
* Companion: Remove `uncles` related code https://github.com/paritytech/substrate/pull/13216 * update lockfile for {"polkadot", "substrate"} --------- Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -496,10 +496,6 @@ pub mod pallet {
|
||||
DispatchClass::Mandatory,
|
||||
);
|
||||
}
|
||||
|
||||
fn note_uncle(_author: T::AccountId, _age: T::BlockNumber) {
|
||||
//TODO can we ignore this?
|
||||
}
|
||||
}
|
||||
|
||||
/// Play the role of the session manager.
|
||||
|
||||
@@ -39,13 +39,13 @@ frame_support::construct_runtime!(
|
||||
NodeBlock = Block,
|
||||
UncheckedExtrinsic = UncheckedExtrinsic,
|
||||
{
|
||||
System: frame_system::{Pallet, Call, Config, Storage, Event<T>},
|
||||
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent},
|
||||
Session: pallet_session::{Pallet, Call, Storage, Event, Config<T>},
|
||||
Aura: pallet_aura::{Pallet, Storage, Config<T>},
|
||||
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>},
|
||||
CollatorSelection: collator_selection::{Pallet, Call, Storage, Event<T>},
|
||||
Authorship: pallet_authorship::{Pallet, Call, Storage, Inherent},
|
||||
System: frame_system,
|
||||
Timestamp: pallet_timestamp,
|
||||
Session: pallet_session,
|
||||
Aura: pallet_aura,
|
||||
Balances: pallet_balances,
|
||||
CollatorSelection: collator_selection,
|
||||
Authorship: pallet_authorship,
|
||||
}
|
||||
);
|
||||
|
||||
@@ -110,8 +110,6 @@ impl FindAuthor<u64> for Author4 {
|
||||
|
||||
impl pallet_authorship::Config for Test {
|
||||
type FindAuthor = Author4;
|
||||
type UncleGenerations = ();
|
||||
type FilterUncle = ();
|
||||
type EventHandler = CollatorSelection;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user