WeightsSetRateLimit

Storage Map v101 → v411

Rate limit for weight setting per subnet .

Explore chain
Queried by: validatorssubnet ownersdevelopers

The Big Picture

Weight setting is rate-limited to prevent spam and ensure stable consensus. This per-subnet limit defines minimum blocks between weight updates.

Use Cases

  • Plan weight update frequency
  • Understand subnet policies
  • Build validation tools

From Chain Metadata

MAP ( netuid ) --> weights_set_rate_limit

Purpose & Usage

Purpose

Control how often validators can update weights.

Common Query Patterns

  • Query by netuid
Part of: Weight Management

Query Keys

#NameTypeDescription
1
netuid
u16 netuid (u16, hashed key component)

Stored Value

weights_set_rate_limit (u64)

RAO -> TAO (/ 10^9)

Relationships

Modified By

Related Events

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 WeightsSetRateLimit storage
const netuid = 1;

const result = await api.query.SubtensorModule.WeightsSetRateLimit.getValue(netuid);
console.log("WeightsSetRateLimit:", result);

Version History

v101 block 1 Added
v123 block 720,235 Internal re-bind
v149 block 3,014,339 Internal re-bind
v166–v194 · runtime versions skipped on chain (never deployed)
v195 block 3,791,350 Internal re-bind
v278–v289 · runtime versions skipped on chain (never deployed)
v290 block 5,947,548 Internal re-bind Current

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Map
First Version
v101
Current Version
v411