pub type DisableMintingGuard<T: Config> = StorageValue<_GeneratedPrefixForStorageDisableMintingGuard<T>, EraIndex>;Expand description
Safety guard: the era from which legacy minting is permanently disabled on the payout side. Irreversible — once set, should never be cleared.
Separate from Config::DisableMinting which controls the end_era path.
This storage guards against minting during payout for eras that were created
in DAP mode. Set automatically by end_era_dap on first successful pot snapshot.
In legacy mode (Kusama), this is never set and the guard is inactive.
Storage type is StorageValue with value type EraIndex.
Aliased Type§
pub struct DisableMintingGuard<T: Config>(/* private fields */);