The Big Picture
Active validators update weights regularly to reflect current network state. This timestamp shows when each neuron last updated. Stale weights (many blocks old) suggest inactive or poorly maintained validators - important for delegation decisions.
Why This Matters
Is this validator actively maintaining their weights, or set-and-forget? Recent LastUpdate means active participation. Old LastUpdate is a red flag.
Example Scenario
Current block is 7,000,000. Query LastUpdate(netuid=1, uid=5) returns 6,999,950. Validator updated 50 blocks ago - very active. If it returned 6,900,000, that's 100,000 blocks stale - concerning.
Common Questions
- How fresh should weights be?
- Depends on the subnet's tempo. Generally, weights should update at least once per epoch. Check subnet parameters for specific expectations.
- What's the rate limit?
- Check WeightsSetRateLimit for the subnet. You typically can't update more than once per N blocks.
Use Cases
- Check if validator is actively updating weights
- Determine when weights can be updated again (rate limiting)
- Identify stale or inactive validators
- Build validator activity monitoring dashboards
From Chain Metadata
MAP ( netuid ) --> last_update
Purpose & Usage
Purpose
Track weight freshness and rate limiting.
Common Query Patterns
- Check if weights are stale
- Verify rate limit compliance
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | netuid | u16 | Subnet ID. Same NetUidStorageIndex remap caveat as Weights. |
Stored Value
Relationships
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 LastUpdate storage
const netuid = 1;
const result = await api.query.SubtensorModule.LastUpdate.getValue(netuid);
console.log("LastUpdate:", result);On-Chain Activity
>10M estimated writes
#2 most written storage item
Modified by both user extrinsics and runtime hooks
As of block 7,429,232
Version History
Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v101
- Current Version
- v411