[Proposal] BandChain Upgrade v3.1.3

This discussion complements the on-chain governance proposal and is intended to gather feedback, questions, and suggestions from validators and community members.


Overview

This upgrade includes:

  • Dependency updates
  • A change in tunnel behavior to allow soft deviation to no longer be restricted by parameters, specifically:
    • Not restricted by minimum deviation parameters
    • Soft deviation must still be ≤ hard deviation
    • Supports use cases where a set of signal prices needs to be included in every update price packet

Currently, there are data consumers that require all prices to be updated within a transaction and may not operate correctly if only some signals are included. This change helps ensure those use cases are supported reliably.

In addition, we plan to use a soft upgrade approach:

  • The chain will continue using the current logic until a specified block height
  • New logic will activate automatically after that block height

Version Plan

  • v3.1.3-rc1 will be used for testnet
  • v3.1.3 will be used for the mainnet upgrade (after successful validation)

Rollout Plan

  • Select a future upgrade height on testnet (approximately 1 week ahead) and confirm it via a separate upgrade proposal (for height selection)
  • Monitor behavior and validate the changes
  • If everything is stable, select a future upgrade height on mainnet (approximately 2 weeks ahead) and submit a separate upgrade proposal (for height selection)
  • Proceed with v3.1.3 for mainnet

Soft Upgrade Logic (Simplified)

if (chainID == testnet && height > X) || (chainID == mainnet && height > Y) {
    // new validation logic:
    // - no min deviation restriction for soft deviation
    // - soft deviation must be <= hard deviation
    validateDeviation()
} else {
    // legacy validation logic (min/max restriction)
    validateDeviationLegacy()
}

Feedback & Voting

We encourage validators and community members to:

  • Share feedback on the soft upgrade approach
  • Share thoughts on allowing soft deviation to not be restricted by parameters
  • Raise any concerns, risks, or alternative suggestions

Please vote on the governance proposal using YES / NO / ABSTAIN based on your assessment.

If you have any concerns or disagree with the approach, please share them here for discussion.