Pallet AURA: remove pallet::getter macro and write the corresponding code (#3350)

Removed the `pallet::getter` macro call from storage type definitions
and added the corresponding implementations directly.
fixes #3330  

polkadot address: 14JzTPPUd8x8phKi8qLxHgNTnTMg6DUukCLXoWprejkaHXPz

---------

Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
K Gunjan
2024-03-18 15:57:48 +05:30
committed by GitHub
parent 1b5f4243d1
commit 816c072abd
21 changed files with 62 additions and 30 deletions
@@ -495,7 +495,7 @@ impl_runtime_apis! {
}
fn authorities() -> Vec<AuraId> {
Aura::authorities().into_inner()
pallet_aura::Authorities::<Runtime>::get().into_inner()
}
}