SubnetIdentityRemoved

Event Re-added v195 → v212, v216 → v247, v252 → v265, v273 → v277, v290 → v315, v320 → v326, v334 → v367, v372 → v377, v385 → current #77

Emitted when a subnet 's identity metadata is removed.

View events on chain
Useful for: subnet ownersminersvalidatorsanalyticsdevelopers

The Big Picture

Subnets can remove their identity, returning to being 'just a number' in UIs. This might happen during rebranding, before dissolution, or when pivoting direction. Losing identity makes the subnet less discoverable and less trustworthy-looking to potential participants.

Why This Matters

A subnet removing its identity might be a red flag - are they pivoting, shutting down, or hiding? If you're on that subnet, investigate. As a subnet owner, removing identity makes you less visible and potentially less trusted.

Example Scenario

Subnet 'ImageGen' (netuid 47) was a popular image generation subnet. The owner removes the identity. SubnetIdentityRemoved fires for netuid 47. Now explorers just show 'Subnet 47' with no name or description. Participants should investigate why the identity was removed.

Common Questions

Why would a subnet owner remove identity?
Rebranding (will set new identity soon), preparing to dissolve, pivoting direction, or resolving legal/IP issues. Could be innocent or concerning - context matters.
Can identity be restored after removal?
Yes, the owner can set a new identity anytime. Removal isn't permanent - it's just clearing the current metadata.
Does removing identity affect the subnet's function?
No, the subnet works the same. Only the metadata (name, description, etc.) is affected. Emissions, registrations, etc. continue normally.

Use Cases

  • Track when subnets remove their branding
  • Detect potential subnet transitions or issues
  • Monitor subnet identity lifecycle
  • Build subnet change tracking tools

How to Use This Event

  • Monitor subnets for identity removal (potential warning sign)
  • Track subnet lifecycle state changes
  • Build subnet health indicators

From Chain Metadata

The identity of a subnet has been removed

Triggers

Preconditions

  • Caller is subnet owner
  • Subnet has existing identity

Effects

Postconditions

  • SubnetIdentities entry removed

Side Effects

  • Subnet shows default/no identity in UIs

Event Data

#NameTypeDescription
0
arg0
u16 Event field #0 (u16)

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 SubnetIdentityRemoved events
api.query.system.events((events) => {
  events
    .filter(({ event }) =>
      event.section === stringCamelCase("SubtensorModule") &&
      event.method === "SubnetIdentityRemoved"
    )
    .forEach(({ event }) => {
      console.log("SubnetIdentityRemoved:", event.data.toHuman());
    });
});

Version History

v195 block 3,791,350 1 args
v216 block 4,510,996 1 args
v252 block 5,163,656 1 args
v273 block 5,659,032 1 args
v290 block 5,947,548 1 args
v320 block 6,523,566 1 args
v334 block 6,811,690 1 args
v372 block 7,430,358 1 args
v385 block 7,782,670 1 args Current

Runtime Info

View Source
Pallet Index
7
Event Index
77
First Version
v195
Current Version
v393