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 { createClient, Binary } from "polkadot-api";
import { getWsProvider } from "polkadot-api/ws";
import { sub } from "@polkadot-api/descriptors"; // generated by: npx papi add sub -w wss://entrypoint-finney.opentensor.ai:443
const client = createClient(getWsProvider("wss://entrypoint-finney.opentensor.ai:443"));
const api = client.getTypedApi(sub);
// Query NextForced storage (no keys - plain value)
const result = await api.query.Grandpa.NextForced.getValue();
console.log("NextForced:", result);Runtime Info
- Pallet
- Grandpa
- Storage Kind
- Plain
- First Version
- v101
- Current Version
- v411