From 604f56f03db847a90aa4fdb13be6b80482a4dcd6 Mon Sep 17 00:00:00 2001
From: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Date: Tue, 23 Jul 2024 23:11:32 +0200
Subject: [PATCH] Remove not-audited warning (#5114)

Pallet tx-pause and safe-mode are both audited, see: #4445

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
---
 prdoc/pr_5114.prdoc                  | 16 ++++++++++++++++
 substrate/frame/safe-mode/src/lib.rs |  4 ----
 substrate/frame/tx-pause/src/lib.rs  |  4 ----
 3 files changed, 16 insertions(+), 8 deletions(-)
 create mode 100644 prdoc/pr_5114.prdoc

diff --git a/prdoc/pr_5114.prdoc b/prdoc/pr_5114.prdoc
new file mode 100644
index 00000000000..d57141490a3
--- /dev/null
+++ b/prdoc/pr_5114.prdoc
@@ -0,0 +1,16 @@
+# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
+# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
+
+title: "Remove not-audited warning"
+
+doc:
+  - audience: Runtime Dev
+    description: |
+      Pallets `tx-pause` and `safe-mode` have passed audit, this just removes a warning in the docs
+      to not use them.
+
+crates:
+  - name: pallet-safe-mode
+    bump: patch
+  - name: pallet-tx-pause
+    bump: patch
diff --git a/substrate/frame/safe-mode/src/lib.rs b/substrate/frame/safe-mode/src/lib.rs
index 4be0776d6c1..cfa9097b541 100644
--- a/substrate/frame/safe-mode/src/lib.rs
+++ b/substrate/frame/safe-mode/src/lib.rs
@@ -19,10 +19,6 @@
 //!
 //! Trigger for stopping all extrinsics outside of a specific whitelist.
 //!
-//! ## WARNING
-//!
-//! NOT YET AUDITED. DO NOT USE IN PRODUCTION.
-//!
 //! ## Pallet API
 //!
 //! See the [`pallet`] module for more information about the interfaces this pallet exposes,
diff --git a/substrate/frame/tx-pause/src/lib.rs b/substrate/frame/tx-pause/src/lib.rs
index 68f7a031255..962bfd744a6 100644
--- a/substrate/frame/tx-pause/src/lib.rs
+++ b/substrate/frame/tx-pause/src/lib.rs
@@ -19,10 +19,6 @@
 //!
 //! Allows dynamic, chain-state-based pausing and unpausing of specific extrinsics via call filters.
 //!
-//! ## WARNING
-//!
-//! NOT YET AUDITED. DO NOT USE IN PRODUCTION.
-//!
 //! ## Pallet API
 //!
 //! See the [`pallet`] module for more information about the interfaces this pallet exposes,
-- 
GitLab