WeightsVersionKeyRateLimit
Storage Plain v252 → currentRate limit for weights version key changes.
Explore chainQueried by: subnet ownersdevelopers
The Big Picture
Weights version keys control validator compatibility. Changes are rate-limited to prevent disruption.
Use Cases
- Plan version key changes
- Understand rate limits
From Chain Metadata
ITEM( weights_version_key_rate_limit ) --- Rate limit in tempos.
Purpose & Usage
Purpose
Control frequency of version key updates.
Common Query Patterns
- Single value query
Stored Value
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 WeightsVersionKeyRateLimit storage (no keys - plain value)
const result = await api.query.SubtensorModule.WeightsVersionKeyRateLimit.getValue();
console.log("WeightsVersionKeyRateLimit:", result);Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Plain
- First Version
- v252
- Current Version
- v411