Skip to content

Commit

Permalink
Apply paritytech/substrate#10662 to phala pallets
Browse files Browse the repository at this point in the history
  • Loading branch information
jasl committed Feb 7, 2022
1 parent 914622b commit 8f92e3f
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions pallets/phala/src/mining.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ pub mod pallet {
#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
#[pallet::storage_version(STORAGE_VERSION)]
#[pallet::without_storage_info]
pub struct Pallet<T>(_);

/// Tokenomic parameters used by Gatekeepers to compute the V promote.
Expand Down
1 change: 1 addition & 0 deletions pallets/phala/src/mq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ pub mod pallet {
#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
#[pallet::storage_version(STORAGE_VERSION)]
#[pallet::without_storage_info]
pub struct Pallet<T>(_);

/// The next expected sequence of a ingress message coming from a certain sender (origin)
Expand Down
1 change: 1 addition & 0 deletions pallets/phala/src/ott.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ pub mod pallet {
#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
#[pallet::storage_version(STORAGE_VERSION)]
#[pallet::without_storage_info]
pub struct Pallet<T>(_);

/// The accounts forbidden to transfer
Expand Down
4 changes: 3 additions & 1 deletion pallets/phala/src/puppets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pub mod parachain_info {

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

#[pallet::config]
Expand All @@ -33,6 +34,7 @@ pub mod parachain_system {

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

#[pallet::config]
Expand All @@ -49,4 +51,4 @@ pub mod parachain_system {
relay_parent_number: u32,
}
}
}
}
1 change: 1 addition & 0 deletions pallets/phala/src/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ pub mod pallet {
#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
#[pallet::storage_version(STORAGE_VERSION)]
#[pallet::without_storage_info]
pub struct Pallet<T>(_);

/// Gatekeeper pubkey list
Expand Down
1 change: 1 addition & 0 deletions pallets/phala/src/stakepool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ pub mod pallet {
#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
#[pallet::storage_version(STORAGE_VERSION)]
#[pallet::without_storage_info]
pub struct Pallet<T>(_);

/// Mapping from pool id to PoolInfo
Expand Down

0 comments on commit 8f92e3f

Please sign in to comment.