subtensor icon indicating copy to clipboard operation
subtensor copied to clipboard

Set activity fix for miners in metagraph

Open mutexlocker opened this issue 1 year ago • 0 comments

Since miners don't set weights anymore, the value of the last 'UPDATE' value in the metagraph remains untouched for miners. The current 'set_weights' function correctly updates the weights for the uids but only updates the activity value in the graph for the validator itself. As a result, the last block updated for those miners in the list of uids for set_weights remains untouched and keeps growing. This raises 2 problem:

  1. This lack of activity update for the miners results in miner codes constantly trying to sync with the metagraph since the logic is to update if the miner is behind by a certain threshold.
  2. Lack of updates on the last block will also affect the monitoring websites such as taostats where they suggest that the last updated block should not grow and as a result, this might confuse the users.

mutexlocker avatar Mar 05 '24 07:03 mutexlocker