Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: update doc after resolving merge conflict
  • Loading branch information
philoniare committed Mar 4, 2024
commit 4cf1eff42eb49884059ceed767fd2ea9ab0675af
20 changes: 0 additions & 20 deletions substrate/frame/support/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1339,26 +1339,6 @@ pub mod pallet_macros {
/// See [`pallet::storage`](`frame_support::pallet_macros::storage`) for more info.
pub use frame_support_procedural::getter;

/// Allows generating the `Store` trait for all storages.
///
/// DEPRECATED: Will be removed, do not use.
/// See <https://github.com/paritytech/substrate/pull/13535> for more details.
///
/// To generate a `Store` trait associating all storages, annotate your `Pallet` struct
/// with the attribute `#[pallet::generate_store($vis trait Store)]`, e.g.:
///
/// ```ignore
/// #[pallet::pallet]
/// #[pallet::generate_store(pub(super) trait Store)]
/// pub struct Pallet<T>(_);
/// ```
/// More precisely, the `Store` trait contains an associated type for each storage. It is
/// implemented for `Pallet` allowing access to the storage from pallet struct.
///
/// Thus when defining a storage named `Foo`, it can later be accessed from `Pallet` using
/// `<Pallet as Store>::Foo`.
pub use frame_support_procedural::generate_store;

/// Defines constants that are added to the constant field of
/// [`PalletMetadata`](frame_metadata::v15::PalletMetadata) struct for this pallet.
///
Expand Down