mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 10:17:57 +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:
@@ -2007,7 +2007,7 @@ fn reward_from_authorship_event_handler_works() {
|
||||
ExtBuilder::default().build_and_execute(|| {
|
||||
use pallet_authorship::EventHandler;
|
||||
|
||||
assert_eq!(<pallet_authorship::Module<Test>>::author(), 11);
|
||||
assert_eq!(<pallet_authorship::Pallet<Test>>::author(), 11);
|
||||
|
||||
<Module<Test>>::note_author(11);
|
||||
<Module<Test>>::note_uncle(21, 1);
|
||||
|
||||
Reference in New Issue
Block a user