ImmuneOwnerUidsLimit
Storage Map v306 → currentMaximum UIDs a subnet owner can make immune from pruning .
Explore chainQueried by: subnet ownersvalidatorsdevelopers
The Big Picture
Subnet owners can protect certain UIDs from pruning. This limit prevents abuse - owners cannot make unlimited neurons immune. Balances owner control with fair competition.
Use Cases
- Check immune slot availability
- Plan neuron protection strategy
- Monitor subnet owner power limits
From Chain Metadata
MAP ( netuid ) --> Burn key limit
Purpose & Usage
Purpose
Limit owner power to protect neurons from deregistration.
Common Query Patterns
- Query by netuid
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | key1 | u16 | key1 (u16) |
Stored Value
value (u16)
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 ImmuneOwnerUidsLimit storage
const key1 = 0;
const result = await api.query
[stringCamelCase("SubtensorModule")]
[stringCamelCase("ImmuneOwnerUidsLimit")](
key1
);
console.log("ImmuneOwnerUidsLimit:", result.toHuman());Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v306
- Current Version
- v393