Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate dmp-queue pallet #4475

Merged
merged 2 commits into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 4 additions & 0 deletions cumulus/pallets/dmp-queue/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;
Expand All @@ -38,6 +39,9 @@ pub type MaxDmpMessageLenOf<T> =
<<T as Config>::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 <https://github.com/paritytech/polkadot-sdk/pull/1246>."
)]
pub mod pallet {
use super::*;
use frame_support::{pallet_prelude::*, traits::HandleMessage, weights::WeightMeter};
Expand Down
10 changes: 10 additions & 0 deletions prdoc/pr_4475.prdoc
Original file line number Diff line number Diff line change
@@ -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
Loading