This storage item was removed in v127

This storage item is no longer available in the current runtime. Existed from v123 to v127. Shown here for historical reference.

Proposals

Storage Removed Plain v123 → v127 (removed)

List of active proposal hashes.

Queried by: validatorsanalytics

The Big Picture

The queue of proposals awaiting vote completion.

Use Cases

  • List governance proposals
  • Track proposal count

From Chain Metadata

The hashes of the active proposals.

Purpose & Usage

Purpose

Track which proposals are currently being voted on.

Common Query Patterns

  • Query all to list active proposals

Stored Value

value (BoundedVec)

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

Runtime Info

Pallet
Senate
Storage Kind
Plain
First Version
v123
Removed In
v127