farming
farming copied to clipboard
feat: Prune states when data is no longer needed
Currently some data permanently remain in store(e.g. CurrentEpoch
, HistoricalRewards
).
By introducing reference counting as in Cosmos SDK, we can safely prune these data.