Open andreea-popescu-reef opened 3 weeks ago
@distributedstatemachine I don't think I'm doing any math operations
Apologies @andreea-popescu-reef , i
meant unsafe , or potentially panicing operation. @keithtensor can you take a look ? the CI should catch these
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.
Related Issue(s)
N/A
Type of Change
Breaking Change
no
Checklist
cargo fmt
andcargo clippy
to ensure my code is formatted and linted correctlyScreenshots (if applicable)
N/A
Additional Notes
N/A