osmosis
osmosis copied to clipboard
[Feature]: v24 upgrade -> restrict lockable durations to 2 weeks
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