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:
ferrell-code
2021-05-02 22:43:56 -04:00
committed by GitHub
parent 8c65e5df36
commit e0f8546481
8 changed files with 104 additions and 84 deletions
+1 -1
View File
@@ -186,7 +186,7 @@ where
}
fn block_author() -> Option<T::AccountId> {
Some(<pallet_authorship::Module<T>>::author())
Some(<pallet_authorship::Pallet<T>>::author())
}
}