Update Pallet placeholder struct as per FRAME v2 (#14348)

* Update Pallet placeholder struct as per FRAME v3

* ".git/.scripts/commands/fmt/fmt.sh"

* Update lib.rs

Removed the unused import

---------

Co-authored-by: command-bot <>
This commit is contained in:
Abhijit Roy
2023-06-12 20:52:05 +05:30
committed by GitHub
parent 3465e692b4
commit 4ba78088d3
23 changed files with 25 additions and 25 deletions
+2 -2
View File
@@ -59,7 +59,7 @@
//! use frame_system::pallet_prelude::*;
//!
//! #[pallet::pallet]
//! pub struct Pallet<T>(PhantomData<T>);
//! pub struct Pallet<T>(_);
//!
//! #[pallet::config]
//! pub trait Config: frame_system::Config {}
@@ -141,7 +141,7 @@ pub mod pallet {
}
#[pallet::pallet]
pub struct Pallet<T>(PhantomData<T>);
pub struct Pallet<T>(_);
#[pallet::call]
impl<T: Config> Pallet<T> {