From 2cf9a4a23480dd30a07f1a0c83e67bf1f0723c3d Mon Sep 17 00:00:00 2001 From: Dino Pacandi Date: Wed, 7 Feb 2024 16:15:25 +0100 Subject: [PATCH] Docs --- pallets/dapp-staking-v3/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pallets/dapp-staking-v3/src/lib.rs b/pallets/dapp-staking-v3/src/lib.rs index e40fb68372..58bc34fb9f 100644 --- a/pallets/dapp-staking-v3/src/lib.rs +++ b/pallets/dapp-staking-v3/src/lib.rs @@ -463,6 +463,9 @@ pub mod pallet { !cfg!(feature = "runtime-benchmarks") && !cfg!(test) } + /// Safeguard to prevent unwanted operations in production. + /// Kept as a storage without extrinsic setter, so we can still enable it for some + /// chain-fork debugging if required. #[pallet::storage] pub type Safeguard = StorageValue<_, bool, ValueQuery, DefaultSafeguard>;