Implements fixes for our June 2024 Sherlock.xyz audit, including important fixes for determining which topics are considered active.
Added
#542 Add scalable management of active topics with associated queries such as GetActiveTopicsAtBlock and GetNextChurningBlockByTopicId
#556 Scores now take an exponential moving average of the score rather than using the instantaneous score value from this epoch.
#564 Topic-epoch-length-aware effective revenue drip to ensure fairness of distribution between topics of longer and shorter epochs.
Removed
#542 As part of active topic management, we removed GetActiveTopics and other (especially paginated) remnants of an unpartitioned store of active topics.
Fixed
#544 Added check against zero-rewards after conversion to cosmosInt
#547 Improve error handling on InsertPayload, fixed/added tests err handling
v0.4.0
Summary
Implements fixes for our June 2024 Sherlock.xyz audit, including important fixes for determining which topics are considered active.
Added
GetActiveTopicsAtBlock
andGetNextChurningBlockByTopicId
Removed
GetActiveTopics
and other (especially paginated) remnants of an unpartitioned store of active topics.Fixed
Security