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
2021-05-23 12:30:46 -04:00
committed by GitHub
parent 4dc8f3a7e5
commit 14befab52e
17 changed files with 0 additions and 59 deletions
-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)]