Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinonard committed Feb 7, 2024
1 parent c530b05 commit 2cf9a4a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pallets/dapp-staking-v3/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<T: Config> = StorageValue<_, bool, ValueQuery, DefaultSafeguard<T>>;

Expand Down

0 comments on commit 2cf9a4a

Please sign in to comment.