ScalingLawPowerSet

Event v101 → v127, v133 → v219, v233 → v265, v273 → v277, v290 → current #21

Emitted when scaling law power parameter is changed.

View events on chain
Useful for: subnet ownersvalidatorsminersanalyticsdevelopers

The Big Picture

The scaling law power affects how rewards scale with stake or performance. It's a mathematical parameter that shapes the reward distribution curve. Higher power values can create more winner-take-all dynamics; lower values flatten the curve. Subnet owners tune this for their desired economic behavior.

Why This Matters

The scaling law power affects whether rewards are concentrated or distributed. Changes to this parameter alter the economic landscape of the subnet. Understanding this helps you predict how reward distributions might shift.

Example Scenario

Subnet 10 wants to encourage broader participation. They reduce scaling law power to flatten the reward curve. ScalingLawPowerSet fires. Previously top performers got much more than average; now the gap narrows. More participants earn meaningful rewards.

Common Questions

What's a typical scaling law power value?
Varies by subnet design. Check your subnet's current value and compare to others. The exact meaning depends on the reward calculation formula used.
Does this affect my current earnings?
Future reward calculations use the new power. Past earnings are unchanged. The impact on your future rewards depends on your relative position in the performance distribution.
How does this interact with other parameters like Kappa?
Multiple parameters shape the reward curve together. Scaling law power is one piece; Kappa, Rho, and others also contribute. Understanding the full picture requires modeling all parameters.

Use Cases

  • Track reward curve tuning on subnets
  • Model emission distribution under different parameters
  • Monitor subnet economic parameter changes
  • Build reward prediction tools

How to Use This Event

  • Monitor scaling parameters on subnets you operate
  • Track changes affecting reward distribution
  • Build economic modeling tools

From Chain Metadata

the scaling law power has been set for a subnet.

Triggers

Preconditions

  • Caller has admin/sudo privileges

Effects

Postconditions

  • ScalingLawPower updated for subnet

Side Effects

  • Affects reward curve shape

Event Data

#NameTypeDescription
0
arg0
→ netuid
u16 NetUidSubnet ID (u16, 0-65535)
1
arg1
u16 Event field #1 (u16)

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);

// Subscribe to ScalingLawPowerSet events
client.finalizedBlock$.subscribe(async (block) => {
  const events = await api.event.SubtensorModule.ScalingLawPowerSet.get(block.hash);
  for (const evt of events) {
    console.log("ScalingLawPowerSet:", evt.payload);
  }
});

Version History

v101 block 1 2 args
v133 block 1,404,224 2 args
v233 block 4,920,350 2 args
v273 block 5,659,032 2 args
v290 block 5,947,548 2 args Current

Runtime Info

View Source
Pallet Index
7
Event Index
21
First Version
v101
Current Version
v411