From d0b96318ff30c251817c955b53c9485a1872b558 Mon Sep 17 00:00:00 2001 From: jasl Date: Mon, 7 Feb 2022 05:18:46 +0800 Subject: [PATCH] Apply https://github.com/paritytech/substrate/pull/10662 pallets Apply https://github.com/paritytech/substrate/pull/10662 --- pallets/parachain-info/src/lib.rs | 1 + pallets/phala/src/mining.rs | 1 + pallets/phala/src/mq.rs | 1 + pallets/phala/src/ott.rs | 1 + pallets/phala/src/registry.rs | 1 + pallets/phala/src/stakepool.rs | 1 + pallets/xtransfer/src/assets_wrapper.rs | 1 + pallets/xtransfer/src/bridge/mod.rs | 1 + pallets/xtransfer/src/bridge_transfer/mod.rs | 1 + pallets/xtransfer/src/xcm/xcm_transfer.rs | 1 + 10 files changed, 10 insertions(+) diff --git a/pallets/parachain-info/src/lib.rs b/pallets/parachain-info/src/lib.rs index 0d83b0c6..a74b17ab 100644 --- a/pallets/parachain-info/src/lib.rs +++ b/pallets/parachain-info/src/lib.rs @@ -28,6 +28,7 @@ pub mod pallet { #[pallet::pallet] #[pallet::generate_store(pub(super) trait Store)] + #[pallet::without_storage_info] pub struct Pallet(_); #[pallet::config] diff --git a/pallets/phala/src/mining.rs b/pallets/phala/src/mining.rs index 0e353b96..9a52abd8 100644 --- a/pallets/phala/src/mining.rs +++ b/pallets/phala/src/mining.rs @@ -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(_); /// Tokenomic parameters used by Gatekeepers to compute the V promote. diff --git a/pallets/phala/src/mq.rs b/pallets/phala/src/mq.rs index e2925fe8..c8931f8f 100644 --- a/pallets/phala/src/mq.rs +++ b/pallets/phala/src/mq.rs @@ -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(_); /// The next expected sequence of a ingress message coming from a certain sender (origin) diff --git a/pallets/phala/src/ott.rs b/pallets/phala/src/ott.rs index 81724699..37236986 100644 --- a/pallets/phala/src/ott.rs +++ b/pallets/phala/src/ott.rs @@ -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(_); /// The accounts forbidden to transfer diff --git a/pallets/phala/src/registry.rs b/pallets/phala/src/registry.rs index 859b3114..ff46cfcb 100644 --- a/pallets/phala/src/registry.rs +++ b/pallets/phala/src/registry.rs @@ -60,6 +60,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(_); /// Gatekeeper pubkey list diff --git a/pallets/phala/src/stakepool.rs b/pallets/phala/src/stakepool.rs index f4a18c96..daf77325 100644 --- a/pallets/phala/src/stakepool.rs +++ b/pallets/phala/src/stakepool.rs @@ -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(_); /// Mapping from pool id to PoolInfo diff --git a/pallets/xtransfer/src/assets_wrapper.rs b/pallets/xtransfer/src/assets_wrapper.rs index 7f17dcec..3c00b9d7 100644 --- a/pallets/xtransfer/src/assets_wrapper.rs +++ b/pallets/xtransfer/src/assets_wrapper.rs @@ -138,6 +138,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(_); #[pallet::config] diff --git a/pallets/xtransfer/src/bridge/mod.rs b/pallets/xtransfer/src/bridge/mod.rs index ddc3bc9a..bb706fc8 100644 --- a/pallets/xtransfer/src/bridge/mod.rs +++ b/pallets/xtransfer/src/bridge/mod.rs @@ -138,6 +138,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(_); #[pallet::config] diff --git a/pallets/xtransfer/src/bridge_transfer/mod.rs b/pallets/xtransfer/src/bridge_transfer/mod.rs index d3098529..a2c861c4 100644 --- a/pallets/xtransfer/src/bridge_transfer/mod.rs +++ b/pallets/xtransfer/src/bridge_transfer/mod.rs @@ -48,6 +48,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(_); #[pallet::config] diff --git a/pallets/xtransfer/src/xcm/xcm_transfer.rs b/pallets/xtransfer/src/xcm/xcm_transfer.rs index 2624cd1a..3e3d2be0 100644 --- a/pallets/xtransfer/src/xcm/xcm_transfer.rs +++ b/pallets/xtransfer/src/xcm/xcm_transfer.rs @@ -29,6 +29,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(_); #[pallet::config]