From 3b564e527ae4ce7a8de454a1e98eea954f253b4c Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Tue, 23 Jul 2024 12:40:02 +0200 Subject: [PATCH 1/2] Remove audit warning Pallet tx-pause and safe-mode are both audited, see: #4445 Signed-off-by: Oliver Tale-Yazdi --- substrate/frame/safe-mode/src/lib.rs | 4 ---- substrate/frame/tx-pause/src/lib.rs | 4 ---- 2 files changed, 8 deletions(-) diff --git a/substrate/frame/safe-mode/src/lib.rs b/substrate/frame/safe-mode/src/lib.rs index 4be0776d6c1f..cfa9097b5412 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 68f7a0312554..962bfd744a65 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, From e6a45bee34e392e1dd534b6fa4c66a09ac0e18d8 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Tue, 23 Jul 2024 12:43:29 +0200 Subject: [PATCH 2/2] Add prdoc Signed-off-by: Oliver Tale-Yazdi --- prdoc/pr_5114.prdoc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 prdoc/pr_5114.prdoc diff --git a/prdoc/pr_5114.prdoc b/prdoc/pr_5114.prdoc new file mode 100644 index 000000000000..d57141490a3e --- /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