Queried by: validatorssubnet ownersdevelopers
The Big Picture
Yuma3 is an advanced consensus mechanism. When enabled, subnets use Yuma3 features for weight processing and emission calculation.
Use Cases
- Check if Yuma3 is active
- Plan validation strategy
- Build consensus-aware tools
From Chain Metadata
MAP ( netuid ) --> Whether or not Yuma3 is enabled
Purpose & Usage
Purpose
Toggle advanced consensus features.
Common Query Patterns
- Query by netuid
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | netuid | u16 | netuid (u16, hashed key component) |
Stored Value
Whether (bool)
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 Yuma3On storage
const netuid = 1;
const result = await api.query.SubtensorModule.Yuma3On.getValue(netuid);
console.log("Yuma3On:", result);Version History
v273 block 5,659,032 Added
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
- v273
- Current Version
- v411