I'm fiddling with substrate's
#[pallet::generate_store(pub(super) trait Store)]
Generates the Store trait if the attribute is provided, which contains an associated type for each storage item. It takes the form of a more explicit Rust struct module and can be written as pub struct Pallet(_);, with the appropriate PhantomData replacing _ to make it generic.
Here is my kittens pallet. Even if I remove the macro mentioned above, node works fine as expected.
But in both the cases my functionality is not impacted at all. It mutates chain state and queries the state as expected.
Why should we use this
#[pallet::generate_store(pub(super) trait Store)]? What's the point?