subtensor icon indicating copy to clipboard operation
subtensor copied to clipboard

reset neuron data on dereg

Open andreea-popescu-reef opened this issue 1 year ago • 1 comments

reviving: https://github.com/opentensor/subtensor/pull/522

Description

On neuron registration the trust, emission, consensus, incentive, dividends values as well as axon info associated with the assigned neuron_uid are inherited from the previous neuron. Thus for the first few blocks after registration these values will be wrong, then reset to zero and then get populated with the correct values for the newly registered neuron. This change resets these values on neuron registration.

andreea-popescu-reef avatar Aug 27 '24 10:08 andreea-popescu-reef