mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 16:51:03 +00:00
Upgrade authorship pallet to Frame-v2 (#8663)
* first commit * get to compile * fix deprecated grandpa * formatting * module to pallet * add authorship pallet to mocks * Fix upgrade of storage. Co-authored-by: Xiliang Chen <xlchen1291@gmail.com> * trigger CI * put back doc Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com> Co-authored-by: Xiliang Chen <xlchen1291@gmail.com>
This commit is contained in:
@@ -2709,7 +2709,7 @@ where
|
||||
}
|
||||
fn note_uncle(author: T::AccountId, _age: T::BlockNumber) {
|
||||
Self::reward_by_ids(vec![
|
||||
(<pallet_authorship::Module<T>>::author(), 2),
|
||||
(<pallet_authorship::Pallet<T>>::author(), 2),
|
||||
(author, 1)
|
||||
])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user