osmosis icon indicating copy to clipboard operation
osmosis copied to clipboard

[Feature]: v24 upgrade -> restrict lockable durations to 2 weeks

Open p0mvn opened this issue 1 year ago • 0 comments

Summary

External incentive providers keep creating gauges for lockable duraions other than 2 weeks.

This breaks our FE which correctly assumes that only 2 week gauges are possible.

This restriction to 2 weeks was executed by the gov prop but we never removed the lockable durations

Per this thread, it is causing a lot of confusion for support and around desired handling in the FE.

This is not a governance param but a state entry. As a result, we should make the necessary update in the upgrade handler.

Problem Definition

No response

Proposed Feature

Acceptance Criteria

  • Remove 1 and 7 day durations from the x/incentives module in the upgrade handler to restrict gauge creation for incentivizing 2 week durations only
  • Thoroughly test on edgenet and testnet

p0mvn avatar Feb 19 '24 16:02 p0mvn