PowRegistrationAllowed

Event Re-added v136 → v148, v149 → v165, v195 → v219, v233 → v247, v252 → v265, v273 → v277, v290 → v315, v320 → current #49

Emitted when proof-of-work registration is toggled for a subnet .

View events on chain
Useful for: minersvalidatorssubnet ownersanalyticsdevelopers

The Big Picture

Subnets can offer two registration methods: proof-of-work (solve puzzles, free but slow) and burn (pay TAO, instant). This event toggles whether PoW is allowed. Disabling PoW means you MUST burn to register - no free option. This is often done to reduce computation spam or ensure only serious participants join.

Why This Matters

If you were planning to PoW your way into a subnet for free, and they disable PoW, your strategy just changed. You must now burn TAO or skip this subnet. This event tells you when the free registration option appears or disappears.

Example Scenario

Subnet 8 was allowing PoW registration but was getting spammed by bot registrations. The owner disables PoW. PowRegistrationAllowed fires with netuid 8 and allowed=false. Now only burn registration works - economic barrier stops the spam.

Common Questions

If PoW is disabled, is there any free way to register?
Not unless the subnet has special programs. Burn registration costs TAO. You're paying one way or another (electricity/time for PoW, or TAO for burn).
Why would a subnet enable PoW?
To allow 'sweat equity' entry - people can join without spending TAO if they contribute computation. Good for accessibility but can be abused.
Can both PoW and burn be disabled?
Possible but rare. That would mean registration is completely closed. Check RegistrationAllowed for overall registration status.

Use Cases

  • Track registration methods available on subnets
  • Plan registration strategy (PoW vs burn)
  • Monitor subnet registration policy changes
  • Build registration method tracking tools

How to Use This Event

  • Monitor PoW availability on target subnets
  • Track registration method policies across subnets
  • Build registration strategy advisors

From Chain Metadata

POW registration is allowed/disallowed for a subnet.

Triggers

Preconditions

  • Caller has admin/sudo privileges

Effects

Postconditions

  • POW registration enabled/disabled

Side Effects

  • If disabled, only burn registration available

Event Data

#NameTypeDescription
0
arg0
u16 Event field #0 (u16)
1
arg1
bool Event field #1 (bool)

Code Examples

import { ApiPromise, WsProvider } from "@polkadot/api";
import { stringCamelCase } from "@polkadot/util";

const provider = new WsProvider("wss://entrypoint-finney.opentensor.ai:443");
const api = await ApiPromise.create({ provider });

// Subscribe to PowRegistrationAllowed events
api.query.system.events((events) => {
  events
    .filter(({ event }) =>
      event.section === stringCamelCase("SubtensorModule") &&
      event.method === "PowRegistrationAllowed"
    )
    .forEach(({ event }) => {
      console.log("PowRegistrationAllowed:", event.data.toHuman());
    });
});

Version History

v136 block 1,756,781 2 args
v149 block 3,014,339 2 args
v195 block 3,791,350 2 args
v233 block 4,920,350 2 args
v252 block 5,163,656 2 args
v273 block 5,659,032 2 args
v290 block 5,947,548 2 args
v320 block 6,523,566 2 args Current

Runtime Info

View Source
Pallet Index
7
Event Index
49
First Version
v136
Current Version
v393