Home
Release Notes

Allora Network Release Notes

v0.8.0

Key Features and Improvements

Enhanced Reward and Scoring Systems

  • Outlier Detection for Inference Submissions: Introduced mechanisms to detect and manage outliers in inference submissions, ensuring higher accuracy and fairness in scoring.

  • EMA Score Initialization: Actors now have initialized Exponential Moving Average (EMA) scores, improving consistency and predictability in performance evaluation.

  • Initial EMA Score Generation: Enabled support for initial EMA score calculations with queries and events, further refining reward distribution.

Advanced Governance and Role Management

  • Global Roles and Bulk Operations: Added global worker, reputer, and admin roles with bulk operation capabilities, streamlining role management and network administration.

  • Emission Flag for Mint Module: Introduced a boolean flag for enabling or disabling emissions within the Mint Module, offering greater control over network emissions.

  • Sortition Penalties Based on Liveness: Implemented penalties based on liveness metrics, promoting consistent participation and penalizing inactivity.

Improved Developer Tooling and Migration Processes

  • Fuzzer Whitelist Awareness: Enhanced the fuzzer to be whitelist-aware, ensuring more targeted and reliable testing scenarios.

  • Install Script Improvements: Updated the install script to handle release asset naming conventions, simplifying developer setup for new releases.

  • Backward Compatibility for Transactions: Enabled clients to unmarshal old transactions, maintaining compatibility with previous network versions.

Documentation and Maintenance Updates

  • Default Module Parameter Values: Set research-approved default values for module parameters, aligning implementation with theoretical models.

  • Preservation of codec.go Files: Ensured codec.go files are retained during proto generation, improving developer experience and code stability.

Bug Fixes

  • Score Normalization: Adjusted score normalization to account for a broader range of samples, enhancing scoring accuracy and reliability.

  • Whitepaper Alignment: Corrected reward fraction calculations to match Whitepaper specifications, addressing discrepancies in implementation.

Security Enhancements

  • IBC MsgTransfer Validation: Strengthened security by ensuring funds transferred via IBC MsgTransfer are reliably received, mitigating potential vulnerabilities.

v0.7.0

Release Date: December 2024

Key Features and Improvements

Enhanced Reward Distribution Management

  • Optimized Topic Initialization: Initial regret values for topics have been adjusted (#670), improving accuracy in reward cycles and minimizing extreme variations for new topics.

  • Reputer Listening Coefficients: A new strategy for handling reputer listening coefficients (#683) ensures better responsiveness in reward cycles, addressing inefficiencies in past implementations.

  • Expanded Governance and Module Permissions Burner Permission Added to Governance Module: The governance module now supports burner permissions, enhancing flexibility in token management within proposals (#685). Fee Market and Fee Grant Module Integration: Introduced a fee market and fee grant module (#627), enabling advanced transaction fee mechanisms and improving usability.

Advanced Sortition and Migration Updates

  • Whitelist Features: Added whitelist support for admins, topic creators, workers, and reputers, alongside the x/emissions v6 migration and chain upgrade (#663). This ensures better control over permissions and enhances network security.

  • Optimistic Execution and CometBFT Upgrade: Implemented optimistic execution with CometBFT v0.38.15 (#678), offering faster and more efficient block processing.

  • Circuit Breaker for AnteHandler: The new CircuitBreakerDecorator (#689) introduces an additional layer of safety during transaction execution.

Improved Tooling and Developer Experience

  • Fuzzer Enhancements: Linter integration and fuzzer improvements ensure state transitions add up to 100% (#654). Setup now runs through all state transitions once before starting fuzzing (#650), with additional bug fixes and probability configuration options (#653).

  • CLI Query Alignment: Refined CLI query commands to standardize user experience (#686).

  • Migration Tests and Upgrade Guides: Updated migration tests (#693) and added an upgrade guide to contributing documentation (#697).

Bug Fixes

  • Stake Validation: Implemented nil amount validation for stakes and added robust test coverage (#668).

  • Reputer Nonce Boundaries: Resolved boundary issues in nonce submissions, ensuring accurate validation (#687).

  • Investor Token Unlocks: Adjusted investor token unlock mechanisms to ensure strictly monotonically increasing amounts (#690).

Documentation and Maintenance

  • Documentation Enhancements: Added detailed documentation to CONTRIBUTING.md (#698), improving developer onboarding and alignment with governance and emissions modules.

  • Mint Module Updates: Fixed inconsistencies in the mint module's GenesisState and proto definitions, with a no-op v3 migration (#695).

Security Enhancements

  • IBC MsgTransfer Validation: Ensured that funds sent via IBC MsgTransfer are securely received (#682), addressing a critical security concern.

v0.6.0

Release Date: October 2024

Key Features and Improvements

Reward Distribution Management

  • A new field keeps track of the sum of active topics’ weights over time, ensuring more accurate reward distribution.
  • Rewards are now accumulated across blocks rather than being recalculated every block.
  • The network now handles inactive or reactivated topics more efficiently, ensuring the total weights are always accurate for reward calculations.

Runaway Negative Regret Calculations

  • The network now tracks initial regrets more carefully, particularly for fast-iteration topics, where regrets previously became excessively negative.
  • By only including experienced participants in regret calculations, it prevents a "runaway effect" where negative regrets grow too large.
  • New participants will have their regrets based on more stable values from established users, helping to balance the regret system and encourage continuous participation without penalizing newcomers too harshly.

Improved Merit-Based Sortitioning

  • The network now has enhanced merit-based sortitioning by calculating participants' percentile rankings using instantaneous scores instead of Exponential Moving Averages (EMAs).
  • This change allows for quicker cycling through participants, ensuring that high-performing actors can be selected faster for rewards and network involvement.
  • The faster update to scores improves responsiveness, allowing new talent to enter the active set more easily and giving the network more up-to-date performance data, all while maintaining a merit-based selection process.

v0.5.0

Release Date: September 2024

The Allora Network v0.5.0 is now live! This version introduces several major updates designed to enhance user experience, improve network performance, and bolster system stability. Below are the key features, improvements, and bug fixes included in this release.

Key Features and Improvements

Fixes from v0.4.0 Upgrade Migration

  • Resolved issues related to the incomplete migration of topic fields from the v0.4.0 upgrade. This fix ensures smoother transitions between versions and enhances data integrity during future upgrades.

New RPC Endpoint for Emission Rate Control

  • A new RPC endpoint has been introduced to give administrators the ability to recalculate inflation rates and manage target emission rates more frequently than the standard monthly recalculation. This provides greater flexibility and control over token emissions.

Refined Topic Management

  • Rewardable Topics as Active Topics: v0.5.0 merges the categories of rewardable and active topics, with rewardable topics now serving as the primary active ones. This simplifies topic management and includes renaming of core functions to improve clarity and system efficiency.

Event Monitoring for Research and Insights

  • New event triggers have been added to enable a research monitoring suite. These event triggers will assist researchers and developers in tracking network behaviors and studying system performance with deeper insights.

Bug Fixes

Handling NaN (Not a Number) Issues

  • Fixed issues related to NaN values appearing in various calculations:
    • NaN values in maps during migrations have been cleared.
    • Protection against NaN in the Exponential Moving Average (EMA) calculations has been added, ensuring accurate scoring and reward computations.

Improved Migration Testing

  • Enhanced migration tests have been introduced to catch issues surrounding Initial Regrets, improving the reliability of future upgrades by addressing potential edge cases.

Reputation System Improvements

  • Adjustments have been made to how block heights and score calculations are handled within the reputation system. This prevents redundant score submissions and ensures a fair reward distribution across the network.

Security Enhancements

Max Length Limits on Topic Creation

  • Maximum string length limits have been enforced for new topics to prevent overflow issues and mitigate the risk of malicious input, contributing to a more secure system environment.

Idempotent Payload Submission

  • Simplified submission conditions for inference payloads. Duplicate submissions are now handled in an idempotent manner, preventing them from affecting the system’s behavior or causing erroneous calculations.

v0.4.0

Release Date: September 2024

This version focuses on implementing key fixes from the June 2024 Sherlock.xyz audit, enhancing active topic management, and refining the scoring system. Below are the critical updates, new features, and fixes included in this release.

Key Features and Improvements

Scalable Management of Active Topics

  • Active Topic Queries: Introduced scalable solutions for managing active topics with new queries such as GetActiveTopicsAtBlock and GetNextChurningBlockByTopicId. These additions enhance the network's ability to efficiently retrieve topic statuses at specific blocks and predict future churn events for each topic.

Exponential Moving Average for Scores

  • Smoother Scoring: Transitioned to using an Exponential Moving Average (EMA) for score calculations, replacing the previous instantaneous score values from each epoch. This change smooths out score fluctuations and ensures a more representative scoring system over time.

Removed

Deprecated Unpartitioned Active Topic Queries

  • As part of the new scalable topic management system, the outdated GetActiveTopics query and paginated versions were removed. This helps streamline how active topics are stored and queried in the system.

Bug Fixes

Reward Conversion to cosmosInt

  • Implemented a check to prevent zero-rewards after conversion to cosmosInt, ensuring rewards are correctly handled and distributed.

InsertPayload Error Handling

  • Improved error handling in the InsertPayload function, along with enhanced testing for error scenarios. This strengthens payload processing and prevents errors from affecting the overall system.

Reputer Window Limit Fix

  • Fixed the Reputer window upper limit to ensure that reputation calculations do not exceed the intended thresholds.

Worker Nonce Window Timing

  • Resolved an issue where the worker nonce window was prematurely closing as soon as it opened, preventing proper timing of nonce submissions.

Security Enhancements

Signature Verification for Payloads

  • Added checks to ensure that signatures on Worker or Reputer Payloads match the corresponding Inferer, Forecaster, or Reputer inside the bundle. This prevents unauthorized manipulation of payloads and strengthens overall network security.

v0.3.0

Release Date: August 2024

The Allora Network v0.3.0 introduced a significant update focused on enhancing participant selection through a merit-based system. This update addresses the need to balance limited on-chain compute resources while ensuring fair opportunities for new participants. Below are the key features, changes, and improvements implemented in this release.

Key Changes Implemented

The Need for Merit-Based Sortition

  • To manage the constraints of on-chain compute while avoiding a “rich get richer” scenario, Allora Network introduced merit-based sortition. This process selects high-quality participants each epoch based on their past performance, measured by a running average of their scores. At the same time, lower-performing participants are cycled out, allowing new talent to demonstrate its value.

Active and Passive Sets Management

  • Active Set: A group of high-performing participants whose data is used to calculate network inferences and receive rewards. The chain determines who qualifies for the active set by calculating a running average of each participant’s scores.
  • Passive Set: Participants who are not in the active set move into the passive set. While their data isn’t used for final rewards, their inferences are still tracked and considered for future inclusion in the active set, giving them a chance to re-enter based on improved performance.

Score Calculation Using Exponential Moving Averages (EMAs)

  • EMA-Based Score Calculation: Scores for each participant are calculated using an Exponential Moving Average (EMA). This method smooths out individual performance over time, preventing large score fluctuations from one epoch to the next, and ensuring a more stable evaluation process.

Merit-Based Participant Selection

The merit-based sortition system helps maintain the quality of network inferences while giving fresh talent the opportunity to participate and prove their value. This mechanism is designed to strike a balance between performance-based selection and inclusivity for new participants.