subtensor icon indicating copy to clipboard operation
subtensor copied to clipboard

No way to fetch gross emissions coming out of the subnet during epoch

Open antlerminator opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

There's no way to fetch gross emissions for a subnet that are flowing out of it during an epoch. Closest we get is to use Pending* storage variables but they are still not correct because during an epoch block they are "incremented" one more time before being drained.

Describe the solution you'd like

Similarly to how TotalHotkeyAlpha has TotalHotkeyAlphaLastEpoch, we should have similar storage variables that stores the exact gross emissions from previous epoch, e.g.:

  • PendingEmission -> PendingEmissionLastEpoch
  • PendingRootDivs -> PendingRootDivsLastEpoch
  • PendingAlphaSwapped -> PendingAlphaSwappedLastEpoch
  • PendingOwnerCut -> PendingOwnerCutLastEpoch

Describe alternatives you've considered

No response

Additional context

No response

antlerminator avatar Sep 30 '25 11:09 antlerminator