subtensor icon indicating copy to clipboard operation
subtensor copied to clipboard

do not update (singular) BlockEmission for every subnet

Open mvds00 opened this issue 3 months ago • 0 comments

do not update (singular) BlockEmission for every subnet but only on fetching Tao block emission

Description

BlockEmission is updated in a utility function, which is very clearly the wrong place

Type of Change

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] Documentation update
  • [ ] Other (please describe):

Checklist

  • [x] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [x] I have run cargo fmt and cargo clippy to ensure my code is formatted and linted correctly
  • [ ] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] New and existing unit tests pass locally with my changes
  • [ ] Any dependent changes have been merged and published in downstream modules

Additional Notes

This is actively being discussed in discord channel refactor-run_coinbase

mvds00 avatar Aug 27 '25 18:08 mvds00