mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-16 20:11:03 +00:00
pallet macro: easier syntax for #[pallet::pallet] with struct Pallet<T>(_) (#8091)
This commit is contained in:
committed by
GitHub
parent
2d31af3eb6
commit
e78d139676
@@ -257,7 +257,7 @@ pub mod pallet {
|
||||
|
||||
#[pallet::pallet]
|
||||
#[pallet::generate_store(pub (super) trait Store)]
|
||||
pub struct Pallet<T>(PhantomData<T>);
|
||||
pub struct Pallet<T>(_);
|
||||
|
||||
#[pallet::hooks]
|
||||
impl<T: Config> Hooks<BlockNumberFor<T>> for Pallet<T> {
|
||||
|
||||
Reference in New Issue
Block a user