Skip to content

Clear Axons and Prometheus on uid deregistration #2200

@gztensor

Description

@gztensor
  1. This function should remove the currently being deregistered hotkey from Axons and Prometheus maps:

    pub fn clear_neuron(netuid: NetUid, neuron_uid: u16) {

  2. Write a one-time migration that will remove Axons and Prometheus entries for all netuids that have hotkey not currently registered in this subnet

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions