Remove now unneeded empty hooks and calls #8873 (#8874)

* Remove now unneeded empty hooks and calls

* fix pallet_ui tests
This commit is contained in:
Tim Gestson authored and GitHub committed 2021-05-23 16:30:46 +00:00
1 parent 4dc8f3a7e5
commit 14befab52e
17 files changed
-59

No files matched your search

-6
View File
@@ -65,9 +65,6 @@
//! #[pallet::pallet]
//! pub struct Pallet<T>(PhantomData<T>);
//!
//! #[pallet::hooks]
//! impl<T: Config> Hooks<BlockNumberFor<T>> for Pallet<T> {}
//!
//! #[pallet::call]
//! impl<T: Config> Pallet<T> {
//! #[pallet::weight(0)]
@@ -130,9 +127,6 @@ pub mod pallet {
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(PhantomData<T>);
#[pallet::hooks]
impl<T: Config> Hooks<BlockNumberFor<T>> for Pallet<T> {}
#[pallet::call]
impl<T: Config> Pallet<T> {
/// Authenticates the sudo key and dispatches a function call with `Root` origin.
-3
View File
@@ -42,9 +42,6 @@ pub mod logger {
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(PhantomData<T>);
#[pallet::hooks]
impl<T: Config> Hooks<BlockNumberFor<T>> for Pallet<T> {}
#[pallet::call]
impl<T: Config> Pallet<T> {
#[pallet::weight(*weight)]