Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Remove use of trait Store from all pallets and deprecate it. #13535

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
bdc5cdb
Remove use of trait Store from staking pallet
vivekvpandya Mar 4, 2023
1337059
Remove use of trait Store from bounties pallet
vivekvpandya Mar 4, 2023
b46648a
Remove use of trait Store from collective pallet
vivekvpandya Mar 4, 2023
d9086f9
Remove use of trait Store from babe pallet
vivekvpandya Mar 4, 2023
4017a4b
Remove use of trait Store from assets pallet
vivekvpandya Mar 4, 2023
d2df7ae
Remove use of trait Store from grandpa pallet
vivekvpandya Mar 4, 2023
16cd888
Remove use of trait Store from balances pallet
vivekvpandya Mar 4, 2023
bd9473f
Remove use of trait Store from authorship pallet
vivekvpandya Mar 4, 2023
21660ad
Remove use of trait Store from authority-discovery pallet
vivekvpandya Mar 4, 2023
9c2673b
Remove use of trait Store from atomic-swap pallet
vivekvpandya Mar 4, 2023
91c2014
Remove use of trait Store from sudo pallet
vivekvpandya Mar 4, 2023
0ce416a
Remove use of trait Store from scheduler pallet
vivekvpandya Mar 4, 2023
3a91cfe
Remove use of trait Store from scored-pool pallet
vivekvpandya Mar 4, 2023
26f65e5
Remove use of trait Store from society pallet
vivekvpandya Mar 4, 2023
e32ec20
Remove use of trait Store from lottery pallet
vivekvpandya Mar 4, 2023
9288d53
Remove use of trait Store from executive pallet
vivekvpandya Mar 4, 2023
236d62e
Remove use of trait Store from democracy pallet
vivekvpandya Mar 4, 2023
3fa3fc2
Remove use of trait Store from elections-phragmen pallet
vivekvpandya Mar 4, 2023
19a092c
Remove use of trait Store from indices pallet
vivekvpandya Mar 4, 2023
a52c4bc
Remove use of trait Store from identity pallet
vivekvpandya Mar 4, 2023
cfe170a
Remove use of trait Store from multisig pallet
vivekvpandya Mar 4, 2023
159a492
Remove use of trait Store from merkle-mountain-range pallet
vivekvpandya Mar 4, 2023
546af25
Remove use of trait Store from im-online pallet
vivekvpandya Mar 4, 2023
39fbf2b
Remove use of trait Store from membership pallet
vivekvpandya Mar 4, 2023
5830e23
Remove use of trait Store from nicks pallet
vivekvpandya Mar 4, 2023
5798277
Remove use of trait Store from session pallet
vivekvpandya Mar 4, 2023
f14a4bd
Remove use of trait Store from transaction-payment pallet
vivekvpandya Mar 4, 2023
aa1a692
Remove use of trait Store from utility pallet
vivekvpandya Mar 4, 2023
48c31de
Remove use of trait Store from child-bounties pallet
vivekvpandya Mar 4, 2023
99599e9
Remove use of trait Store from nis pallet
vivekvpandya Mar 4, 2023
81eda70
Remove use of trait Store from nfts pallet
vivekvpandya Mar 4, 2023
7f4e38f
Remove use of trait Store from conviction-voting pallet
vivekvpandya Mar 4, 2023
622725b
Remove use of trait Store from treasury pallet
vivekvpandya Mar 4, 2023
bb503a0
Remove use of trait Store from vesting pallet
vivekvpandya Mar 4, 2023
db046e4
Remove use of trait Store from preimage pallet
vivekvpandya Mar 4, 2023
ee461d8
Remove use of trait Store from uniques pallet
vivekvpandya Mar 4, 2023
a583a20
Remove use of trait Store from ranked-collective pallet
vivekvpandya Mar 4, 2023
95312e9
Remove use of trait Store from beefy-mmr pallet
vivekvpandya Mar 4, 2023
056c344
Remove use of trait Store from referenda pallet
vivekvpandya Mar 4, 2023
2e754a9
Remove use of trait Store from whitelist pallet
vivekvpandya Mar 4, 2023
5b14f52
Remove use of trait Store from alliance pallet
vivekvpandya Mar 4, 2023
cdd33e8
Remove use of trait Store from nomination-pools pallet
vivekvpandya Mar 4, 2023
c047b40
Remove use of trait Store from state-trie-migration pallet
vivekvpandya Mar 4, 2023
18bdc65
Remove use of trait Store from message-queue pallet
vivekvpandya Mar 4, 2023
fd88b09
Remove use of trait Store from root-offences pallet
vivekvpandya Mar 4, 2023
f29edf5
Remove use of trait Store from root-testing pallet
vivekvpandya Mar 4, 2023
0e55d98
Remove use of trait Store from timestamps pallet
vivekvpandya Mar 4, 2023
86524c2
Remove use of trait Store from system pallet
vivekvpandya Mar 4, 2023
2796879
Remove use of trait Store from offences pallet
vivekvpandya Mar 4, 2023
6751fe1
Remove use of trait Store from recovery pallet
vivekvpandya Mar 4, 2023
e2a0d94
Remove use of trait Store from node-authorization pallet
vivekvpandya Mar 4, 2023
a7986e6
Remove use of trait Store from proxy pallet
vivekvpandya Mar 4, 2023
03bbbd7
Remove use of trait Store from benchmarking pallet
vivekvpandya Mar 4, 2023
45ea583
Remove use of trait Store from bags-list pallet
vivekvpandya Mar 4, 2023
4cdb71f
Add deprecated warning in store_trait
vivekvpandya Mar 6, 2023
abc4a04
Change warning message
vivekvpandya Mar 7, 2023
73c1a0d
Run cargo fmt
vivekvpandya Mar 9, 2023
38c26c0
Merge branch 'master' into vivek-issue-13260
vivekvpandya Mar 9, 2023
24f386e
Fix warning and update tests
vivekvpandya Mar 9, 2023
4867664
Remove unnecessary allow deprecated
vivekvpandya Mar 9, 2023
be55375
Remove use of trait Store
vivekvpandya Mar 9, 2023
7b2710a
Fix mismatch in expected output
vivekvpandya Mar 9, 2023
1c646fe
Merge branch 'master' into vivek-issue-13260
vivekvpandya Mar 9, 2023
27775d8
Minor update to warning message for deprecation of generate_store wit…
vivekvpandya Mar 11, 2023
4a97fec
Fixes as per review comments
vivekvpandya Mar 11, 2023
ed2a170
Fixes as per review suggestions
vivekvpandya Mar 12, 2023
5b37e47
Merge branch 'master' into vivek-issue-13260
vivekvpandya Mar 13, 2023
7d0f130
Remove use of Store trait from core-fellowship pallet
vivekvpandya Mar 13, 2023
637d0ea
Fix type in store_trait.rs
vivekvpandya Mar 13, 2023
7bbedf1
Fixes as pre review comment
vivekvpandya Mar 13, 2023
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
1 change: 0 additions & 1 deletion bin/node-template/pallets/template/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ pub mod pallet {
use frame_system::pallet_prelude::*;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);

/// Configure the pallet by specifying the parameters and types on which it depends.
Expand Down
1 change: 0 additions & 1 deletion frame/alliance/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ pub mod pallet {
use super::*;

#[pallet::pallet]
#[pallet::generate_store(pub (super) trait Store)]
#[pallet::storage_version(migration::STORAGE_VERSION)]
pub struct Pallet<T, I = ()>(PhantomData<(T, I)>);

Expand Down
1 change: 0 additions & 1 deletion frame/assets/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ pub mod pallet {
const STORAGE_VERSION: StorageVersion = StorageVersion::new(1);

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
#[pallet::storage_version(STORAGE_VERSION)]
pub struct Pallet<T, I = ()>(_);

Expand Down
1 change: 0 additions & 1 deletion frame/atomic-swap/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ pub mod pallet {
}

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(PhantomData<T>);

#[pallet::storage]
Expand Down
1 change: 0 additions & 1 deletion frame/authority-discovery/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ pub mod pallet {
use frame_support::pallet_prelude::*;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);

#[pallet::config]
Expand Down
1 change: 0 additions & 1 deletion frame/authorship/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ pub mod pallet {
}

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);

#[pallet::hooks]
Expand Down
1 change: 0 additions & 1 deletion frame/babe/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ pub mod pallet {

/// The BABE Pallet
#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);

#[pallet::config]
Expand Down
1 change: 0 additions & 1 deletion frame/bags-list/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ pub mod pallet {
use frame_system::pallet_prelude::*;

#[pallet::pallet]
#[pallet::generate_store(pub(crate) trait Store)]
pub struct Pallet<T, I = ()>(_);

#[pallet::config]
Expand Down
1 change: 0 additions & 1 deletion frame/balances/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ pub mod pallet {
frame_support::traits::StorageVersion::new(1);

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
#[pallet::storage_version(STORAGE_VERSION)]
pub struct Pallet<T, I = ()>(PhantomData<(T, I)>);

Expand Down
1 change: 0 additions & 1 deletion frame/beefy-mmr/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ pub mod pallet {

/// BEEFY-MMR pallet.
#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);

/// The module's configuration trait.
Expand Down
1 change: 0 additions & 1 deletion frame/benchmarking/pov/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ pub mod pallet {
use sp_std::prelude::*;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(PhantomData<T>);

#[pallet::config]
Expand Down
1 change: 0 additions & 1 deletion frame/benchmarking/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ mod pallet_test {
use frame_system::pallet_prelude::*;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(PhantomData<T>);

#[pallet::config]
Expand Down
1 change: 0 additions & 1 deletion frame/benchmarking/src/tests_instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ mod pallet_test {
use frame_system::pallet_prelude::*;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T, I = ()>(PhantomData<(T, I)>);

pub trait OtherConfig {
Expand Down
1 change: 0 additions & 1 deletion frame/bounties/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ pub mod pallet {
use super::*;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T, I = ()>(_);

#[pallet::config]
Expand Down
1 change: 0 additions & 1 deletion frame/child-bounties/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ pub mod pallet {
use super::*;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);

#[pallet::config]
Expand Down
1 change: 0 additions & 1 deletion frame/collective/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ pub mod pallet {
const STORAGE_VERSION: StorageVersion = StorageVersion::new(4);

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
#[pallet::storage_version(STORAGE_VERSION)]
#[pallet::without_storage_info]
pub struct Pallet<T, I = ()>(PhantomData<(T, I)>);
Expand Down
1 change: 0 additions & 1 deletion frame/collective/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ mod mock_democracy {
use frame_system::pallet_prelude::*;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);

#[pallet::config]
Expand Down
1 change: 0 additions & 1 deletion frame/conviction-voting/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ pub mod pallet {
use frame_system::pallet_prelude::*;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T, I = ()>(_);

#[pallet::config]
Expand Down
1 change: 0 additions & 1 deletion frame/core-fellowship/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ pub mod pallet {
const RANK_COUNT: usize = 9;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T, I = ()>(PhantomData<(T, I)>);

#[pallet::config]
Expand Down
1 change: 0 additions & 1 deletion frame/democracy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ pub mod pallet {
const STORAGE_VERSION: StorageVersion = StorageVersion::new(1);

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
#[pallet::storage_version(STORAGE_VERSION)]
pub struct Pallet<T>(_);

Expand Down
1 change: 0 additions & 1 deletion frame/elections-phragmen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ pub mod pallet {
const STORAGE_VERSION: StorageVersion = StorageVersion::new(4);

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
#[pallet::storage_version(STORAGE_VERSION)]
#[pallet::without_storage_info]
pub struct Pallet<T>(PhantomData<T>);
Expand Down
1 change: 0 additions & 1 deletion frame/examples/basic/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,6 @@ pub mod pallet {
// Simple declaration of the `Pallet` type. It is placeholder we use to implement traits and
// method.
#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);

// Pallet implements [`Hooks`] trait to define some logic to execute in some context.
Expand Down
1 change: 0 additions & 1 deletion frame/examples/offchain-worker/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ pub mod pallet {
}

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);

#[pallet::hooks]
Expand Down
1 change: 0 additions & 1 deletion frame/executive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,6 @@ mod tests {
use frame_system::pallet_prelude::*;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);

#[pallet::config]
Expand Down
1 change: 0 additions & 1 deletion frame/grandpa/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ pub mod pallet {
const STORAGE_VERSION: StorageVersion = StorageVersion::new(4);

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
#[pallet::storage_version(STORAGE_VERSION)]
pub struct Pallet<T>(_);

Expand Down
1 change: 0 additions & 1 deletion frame/identity/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ pub mod pallet {
}

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);

/// Information that is pertinent to identify the entity behind an account.
Expand Down
1 change: 0 additions & 1 deletion frame/im-online/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ pub mod pallet {
use frame_system::pallet_prelude::*;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);

#[pallet::config]
Expand Down
1 change: 0 additions & 1 deletion frame/indices/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ pub mod pallet {
}

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(PhantomData<T>);

#[pallet::call]
Expand Down
4 changes: 1 addition & 3 deletions frame/insecure-randomness-collective-flip/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

//! # DO NOT USE IN PRODUCTION
//!
//! The produced values do not fulfill the cryptographic requirements for random numbers.
//! The produced values do not fulfill the cryptographic requirements for random numbers.
//! Should not be used for high-stake production use-cases.
//!
//! # Randomness Pallet
Expand Down Expand Up @@ -51,7 +51,6 @@
//! use frame_system::pallet_prelude::*;
//!
//! #[pallet::pallet]
//! #[pallet::generate_store(pub(super) trait Store)]
//! pub struct Pallet<T>(_);
//!
//! #[pallet::config]
Expand Down Expand Up @@ -94,7 +93,6 @@ pub mod pallet {
use frame_system::pallet_prelude::*;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);

#[pallet::config]
Expand Down
1 change: 0 additions & 1 deletion frame/lottery/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ pub mod pallet {
use frame_system::pallet_prelude::*;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);

/// The pallet's config trait.
Expand Down
1 change: 0 additions & 1 deletion frame/membership/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ pub mod pallet {
const STORAGE_VERSION: StorageVersion = StorageVersion::new(4);

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
#[pallet::storage_version(STORAGE_VERSION)]
pub struct Pallet<T, I = ()>(PhantomData<(T, I)>);

Expand Down
1 change: 0 additions & 1 deletion frame/merkle-mountain-range/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ pub mod pallet {
use frame_system::pallet_prelude::*;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T, I = ()>(PhantomData<(T, I)>);

/// This pallet's configuration trait
Expand Down
3 changes: 1 addition & 2 deletions frame/message-queue/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
//! which queue it will be stored. Messages are stored by being appended to the last [`Page`] of a
//! book. Each book keeps track of its pages by indexing `Pages`. The `ReadyRing` contains all
//! queues which hold at least one unprocessed message and are thereby *ready* to be serviced. The
//! `ServiceHead` indicates which *ready* queue is the next to be serviced.
//! `ServiceHead` indicates which *ready* queue is the next to be serviced.
//! The pallet implements [`frame_support::traits::EnqueueMessage`],
//! [`frame_support::traits::ServiceQueues`] and has [`frame_support::traits::ProcessMessage`] and
//! [`OnQueueChanged`] hooks to communicate with the outside world.
Expand Down Expand Up @@ -438,7 +438,6 @@ pub mod pallet {
use super::*;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);

/// The module configuration trait.
Expand Down
1 change: 0 additions & 1 deletion frame/multisig/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ pub mod pallet {
const STORAGE_VERSION: StorageVersion = StorageVersion::new(1);

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
#[pallet::storage_version(STORAGE_VERSION)]
pub struct Pallet<T>(_);

Expand Down
1 change: 0 additions & 1 deletion frame/nfts/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ pub mod pallet {
const STORAGE_VERSION: StorageVersion = StorageVersion::new(1);

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
#[pallet::storage_version(STORAGE_VERSION)]
pub struct Pallet<T, I = ()>(PhantomData<(T, I)>);

Expand Down
1 change: 0 additions & 1 deletion frame/nicks/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ pub mod pallet {
StorageMap<_, Twox64Concat, T::AccountId, (BoundedVec<u8, T::MaxLength>, BalanceOf<T>)>;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);

#[pallet::call]
Expand Down
1 change: 0 additions & 1 deletion frame/nis/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,6 @@ pub mod pallet {
}

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);

/// A single bid, an item of a *queue* in `Queues`.
Expand Down
1 change: 0 additions & 1 deletion frame/node-authorization/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ pub mod pallet {
use frame_system::pallet_prelude::*;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
#[pallet::without_storage_info]
pub struct Pallet<T>(_);

Expand Down
1 change: 0 additions & 1 deletion frame/nomination-pools/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,6 @@ pub mod pallet {
const STORAGE_VERSION: StorageVersion = StorageVersion::new(3);

#[pallet::pallet]
#[pallet::generate_store(pub(crate) trait Store)]
#[pallet::storage_version(STORAGE_VERSION)]
pub struct Pallet<T>(_);

Expand Down
1 change: 0 additions & 1 deletion frame/offences/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ pub mod pallet {
use frame_support::pallet_prelude::*;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
#[pallet::without_storage_info]
pub struct Pallet<T>(_);

Expand Down
1 change: 0 additions & 1 deletion frame/preimage/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ pub mod pallet {
}

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
#[pallet::storage_version(STORAGE_VERSION)]
pub struct Pallet<T>(PhantomData<T>);

Expand Down
1 change: 0 additions & 1 deletion frame/proxy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ pub mod pallet {
use frame_system::pallet_prelude::*;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);

/// Configuration trait.
Expand Down
1 change: 0 additions & 1 deletion frame/ranked-collective/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,6 @@ pub mod pallet {
use frame_system::pallet_prelude::*;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T, I = ()>(PhantomData<(T, I)>);

#[pallet::config]
Expand Down
1 change: 0 additions & 1 deletion frame/recovery/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ pub mod pallet {
use sp_runtime::ArithmeticError;

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);

/// Configuration trait.
Expand Down
1 change: 0 additions & 1 deletion frame/referenda/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ pub mod pallet {
const STORAGE_VERSION: StorageVersion = StorageVersion::new(1);

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
#[pallet::storage_version(STORAGE_VERSION)]
pub struct Pallet<T, I = ()>(_);

Expand Down
1 change: 0 additions & 1 deletion frame/root-offences/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ pub mod pallet {
}

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);

#[pallet::event]
Expand Down
Loading