mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 05:47:58 +00:00
node: use BABE predigest data to find authorship (#3293)
* node: use BABE predigest data to find authorship * node: bump spec_version * babe: use u32 for authority index
This commit is contained in:
@@ -180,9 +180,8 @@ parameter_types! {
|
||||
pub const UncleGenerations: u64 = 0;
|
||||
}
|
||||
|
||||
// TODO: #2986 implement this properly
|
||||
impl authorship::Trait for Runtime {
|
||||
type FindAuthor = ();
|
||||
type FindAuthor = session::FindAccountFromAuthorIndex<Self, Babe>;
|
||||
type UncleGenerations = UncleGenerations;
|
||||
type FilterUncle = ();
|
||||
type EventHandler = Staking;
|
||||
|
||||
Reference in New Issue
Block a user