Stalled

Storage Plain v101 → current

Indicates GRANDPA has stalled with (delay, best_finalized_block).

Explore chain
Queried by: validatorsdevelopers

The Big Picture

When note_stalled is called, this storage records the stall. Contains the delay before forced change takes effect and the last finalized block. Presence indicates emergency recovery is in progress.

Use Cases

  • Check if finality is stalled
  • Monitor for consensus failures
  • Build alerting systems for finality issues

From Chain Metadata

`true` if we are currently stalled.

Purpose & Usage

Purpose

Records stall conditions for scheduled forced authority changes.

Common Query Patterns

  • Single value query (None if not stalled)

Stored Value

value ((u32, 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 Stalled storage (no keys - plain value)
const result = await api.query
  [stringCamelCase("Grandpa")]
  [stringCamelCase("Stalled")]();
console.log("Stalled:", result.toHuman());

Runtime Info

Pallet
Grandpa
Storage Kind
Plain
First Version
v101
Current Version
v393