NextForced
Storage Plain v101 → currentNext block number where a forced authority change can be signaled.
Explore chainQueried by: validatorsdevelopers
The Big Picture
Forced authority changes are emergency measures. This storage prevents spamming forced changes by requiring a minimum delay between them. If you try to force a change too soon, TooSoon error is returned.
Use Cases
- Check when the next forced change is allowed
- Plan emergency recovery operations
From Chain Metadata
next block number where we can force a change.
Purpose & Usage
Purpose
Rate-limits forced GRANDPA changes to prevent abuse.
Common Query Patterns
- Single value query
Stored Value
value (u32)
Relationships
Modified By
Code Examples
import { ApiPromise, WsProvider } from "@polkadot/api";
import { stringCamelCase } from "@polkadot/util";
const provider = new WsProvider("wss://entrypoint-finney.opentensor.ai:443");
const api = await ApiPromise.create({ provider });
// Query NextForced storage (no keys - plain value)
const result = await api.query
[stringCamelCase("Grandpa")]
[stringCamelCase("NextForced")]();
console.log("NextForced:", result.toHuman());Runtime Info
- Pallet
- Grandpa
- Storage Kind
- Plain
- First Version
- v101
- Current Version
- v393