SubnetEmissionEnabled
Storage Map v411 → current NewPer-subnet flag controlling pool-side emission paths. MAP (netuid ) → bool, default true.
Explore chainThe Big Picture
When false, the subnet still gets an emission share but none of the pool-side plumbing runs. Owner cut, root proportion, pending server/validator emission are unaffected. Surgical pause for maintenance.
Use Cases
- Detect subnets with pool-side emission paused
- Track timeline of emission pauses for incident analysis
From Chain Metadata
MAP ( netuid ) --> subnet_emission_enabled When false, subnet pool-side emission is disabled for this subnet: `alpha_in`, `tao_in`, and `excess_tao` chain buys are all treated as zero. `alpha_out`, owner cut, root proportion, pending server emission, and pending validator emission are intentionally left unchanged. Defaults to true so existing subnets keep current behavior.
Purpose & Usage
Purpose
Switch off chain buys, pool injections, and excess_tao paths for a subnet without removing it from share calculation.
Common Query Patterns
- Query SubnetEmissionEnabled[netuid]
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | netuid | u16 | netuid (u16, hashed key component) |
Stored Value
subnet_emission_enabled (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 SubnetEmissionEnabled storage
const netuid = 1;
const result = await api.query.SubtensorModule.SubnetEmissionEnabled.getValue(netuid);
console.log("SubnetEmissionEnabled:", result);Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v411
- Current Version
- v411