subtensor
subtensor copied to clipboard
No way to fetch gross emissions coming out of the subnet during epoch
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->PendingEmissionLastEpochPendingRootDivs->PendingRootDivsLastEpochPendingAlphaSwapped->PendingAlphaSwappedLastEpochPendingOwnerCut->PendingOwnerCutLastEpoch
Describe alternatives you've considered
No response
Additional context
No response