AdjustmentAlpha

Storage Map v126 → v411

Alpha for difficulty adjustment algorithm.

Explore chain
Queried by: developerssubnet ownersanalytics

The Big Picture

AdjustmentAlpha controls how aggressively costs respond to demand. Higher alpha = faster adjustments, more volatile costs. Lower alpha = slower, smoother adjustments. It's the smoothing factor in the exponential adjustment formula.

Why This Matters

How volatile are registration costs? AdjustmentAlpha determines this. High alpha means costs spike quickly with demand; low alpha means gradual changes.

Example Scenario

Query AdjustmentAlpha(netuid=1) returns the adjustment sensitivity parameter. Combined with demand data, you can model expected cost changes.

Common Questions

What's a typical value?
Varies by subnet design. Higher values for subnets wanting responsive pricing, lower for subnets wanting stable costs.

Use Cases

  • Understand how quickly costs adjust
  • Model registration cost dynamics
  • Research difficulty adjustment algorithms
  • Design subnet economic parameters
  • Debug unexpected cost changes

From Chain Metadata

MAP ( netuid ) --> adjustment_alpha

Purpose & Usage

Purpose

Control adjustment sensitivity - how aggressively costs respond to demand changes.

Common Query Patterns

  • Query by netuid
  • Research adjustment dynamics
  • Model cost predictions

Query Keys

#NameTypeDescription
1
netuid
u16 netuid (u16, hashed key component)

Stored Value

adjustment_alpha (u64)

RAO -> TAO (/ 10^9)

Relationships

Modified By

Related Events

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 AdjustmentAlpha storage
const netuid = 1;

const result = await api.query.SubtensorModule.AdjustmentAlpha.getValue(netuid);
console.log("AdjustmentAlpha:", result);

Version History

v126 block 806,011 Added
v149 block 3,014,339 Internal re-bind
v166–v194 · runtime versions skipped on chain (never deployed)
v195 block 3,791,350 Internal re-bind
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
v126
Current Version
v411