AlphaSigmoidSteepness

Storage Map v273 → v411 · 1 shape change

Steepness parameter for the alpha sigmoid function per subnet .

Explore chain
Queried by: subnet ownersvalidatorsanalytics

The Big Picture

Alpha calculations use a sigmoid function. This steepness parameter controls how quickly the curve transitions. Higher steepness = sharper transition. Affects how alpha values are computed for consensus.

Use Cases

  • Understand subnet alpha dynamics
  • Compare alpha curves across subnets
  • Research consensus mechanics

From Chain Metadata

MAP ( netuid ) --> AlphaSigmoidSteepness

Purpose & Usage

Purpose

Controls the shape of the alpha calculation curve.

Common Query Patterns

  • Query by netuid

Migration Notes

v277 v290 Breaking

value type changed from u16 to i16

Update decoders: SCALE encoding is positional, so any signature change (added, removed, or type-changed fields, or storage shape changes) shifts byte offsets and existing decoders will misparse this item. Re-derive types from the new metadata.

Query Keys

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

Stored Value

AlphaSigmoidSteepness (i16)

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

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

Version History

v273 block 5,659,032 Added
v278–v289 · runtime versions skipped on chain (never deployed)
v290 block 5,947,548 Shape changed Current
  • value : u16i16

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Map
First Version
v273
Current Version
v411