From 8d62c13b2541920c37fb9d9ca733fcce91e96573 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Wed, 15 May 2024 18:27:17 +0200 Subject: [PATCH 1/2] Deprecate dmp-queue pallet Signed-off-by: Oliver Tale-Yazdi --- cumulus/pallets/dmp-queue/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cumulus/pallets/dmp-queue/src/lib.rs b/cumulus/pallets/dmp-queue/src/lib.rs index 79cc4bc895ec..9b3ec684feba 100644 --- a/cumulus/pallets/dmp-queue/src/lib.rs +++ b/cumulus/pallets/dmp-queue/src/lib.rs @@ -21,6 +21,7 @@ //! from the runtime once `Completed` was emitted. #![cfg_attr(not(feature = "std"), no_std)] +#![allow(deprecated)] // The pallet itself is deprecated. use migration::*; pub use pallet::*; @@ -38,6 +39,9 @@ pub type MaxDmpMessageLenOf = <::DmpSink as frame_support::traits::HandleMessage>::MaxMessageLen; #[frame_support::pallet] +#[deprecated( + note = "`cumulus-pallet-dmp-queue` will be removed after November 2024. It can be removed once its lazy migration completed. See ." +)] pub mod pallet { use super::*; use frame_support::{pallet_prelude::*, traits::HandleMessage, weights::WeightMeter}; From 480aec8fad0a220dce2f6fdf7cdd3cd27d57040b Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Wed, 15 May 2024 18:31:45 +0200 Subject: [PATCH 2/2] Add prdoc Signed-off-by: Oliver Tale-Yazdi --- prdoc/pr_4475.prdoc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 prdoc/pr_4475.prdoc diff --git a/prdoc/pr_4475.prdoc b/prdoc/pr_4475.prdoc new file mode 100644 index 000000000000..30093dcd32b8 --- /dev/null +++ b/prdoc/pr_4475.prdoc @@ -0,0 +1,10 @@ +title: "Deprecate dmp-queue pallet" + +doc: + - audience: Runtime Dev + description: | + Schedule the DMP queue pallet for deletion. It is not needed anymore sine https://github.com/paritytech/polkadot-sdk/pull/1246. + +crates: + - name: cumulus-pallet-dmp-queue + bump: minor