Skip to content

v0.4.0

Compare
Choose a tag to compare
@kpeluso kpeluso released this 04 Sep 00:03
· 330 commits to main since this release
be9dd1e

v0.4.0

Summary

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.
  • #568 Added merit based sortition so more actors can have their chance to prove their talents

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
  • #550 Fix reputer window upper limit
  • #555 Refactor: Rename TestSuite names
  • #567 Fix worker nonce window closing as soon as it opens

Security

  • See our recent June 2024 security audit for a full description of bugs found during that audit.
  • #554 Check Signature on Worker or Reputer Payload Matches Inferer/Forecaster/Reputer inside Bundle