Proposal #588

Expedited Proposal: Osmosis v18 Software Upgrade

Exec Legacy Content
passed
Expected result
Passed
Turnout / Quorum
116.77% / 20.00%

Voting period

Voting ended100.0%
Voting start 2023.08.24 at 16:47:52
Voting end 2023.08.25 at 16:47:52

Vote distribution

90.78%
219 765 529 osmo
Yes
0.00%
336 osmo
No
0.00%
3 osmo
Veto
9.22%
22 315 792 osmo
Abstain

Details

logo
Proposer
-
Total deposit
5 000 osmo
Submit time
2023.08.24 at 16:47:52
Deposit end time
2023.09.07 at 16:47:52

Description

This is an expedited proposal to do a software upgrade to the v18.0.0 software tag of the Osmosis codebase on block height 11155350, which is estimated to occur on Friday August 25th, UTC 16:00. Block times have high variance, so please monitor the chain for more precise time estimates. \n\nWhile no funds are at risk, this software update has been expedited as the current impact is that incentives are not being distributed to any pools starting from the upcoming epoch, and migration links for older Classic pools to Supercharged pools are unable to be used. Superfluid and staking rewards will still distribute. If this proposal passes in an expedited proposal, the behavior that we will observe is that: \n* During epoch today: \n * No LP incentives will distribute\n * Superfluid and Staking incentives will distribute\n* During epoch tomorrow (if proposal passes): \n * 2x LP incentives for all osmo-incentivized pools will go through \n * For external incentives, the rewards will continue distributing in regular amounts, with a delay by one epoch. * Otherwise normal epoch. \n\nAs an expedited proposal, this proposal will pass and approve the software upgrade to take place at this block height as long as two-thirds of voting power votes within the first 24 hours. If this fails to occur, then this proposal will revert to a five-day proposal and should be voted down as the block height will be in the past upon proposal passing. \n\n## Upgrade Details \nIn the v17 upgrade, more CL pools were launched that are linked to a balancer pool with the same token pair. \n\nDue to a historic issue specific to mainnet, a state entry now used in incentive distribution was in an invalid state, causing a panic. \nThe issue was not caught in the state exported from mainnet to testnet because it executes InitGenesis() logic which corrects the problem, meaning that this issue was not replicated on testnet. (And could not have been, without custom logic to recreate this invalid state) \n\nWhile this issue does not cause a chain halt, it currently silently fails and prevents incentives from being distributed to any Osmosis pool. \n\nAll funds are safe and are NOT at risk. The rewards that have not been distributed since v17 will be distributed after the v18 upgrade. \n\nFor internal OSMO incentives, the day after the upgrade, users will get 2x the regular amount (for the missed epoch and for the current epoch). \n\nFor external incentives, the rewards will continue distributing in regular amounts, with a delay by one epoch. \n\nFuture testing procedures will export mainnet state to testnet in a different manner to ensure that InitGenesis() does not overwrite any invalid historical states from Mainnet. \n\nSee the Full Change Log for more API Breaking, State Breaking and other miscellaneous changes. \n## Getting Prepared for the Upgrade\nTo build the binary, be sure to install golang 1.20. \n\nAs always, we recommend validators utilize 64GB of RAM. Since state migration is relatively negligible in this upgrade, it is possible to get away with less, but still not recommended. If you are unable to have 64GB of RAM, at a minimum have a total of 64GB of swap set to prevent out of memory errors. \n\nIf using Cosmovisor, manually build & copy the osmosisd binary to /cosmovisor/upgrades/v18/bin/. \n\nIf not using Cosmovisor, wait for your node to halt at the upgrade height, then install and run the v18.0.0 binary. \n## Details of Upgrade Time\nThe proposal targets the upgrade proposal block to be 11155350, anticipated to be on Friday August 25th, UTC 16:00. Note that block times have high variance, so keep monitoring the time. See countdown here. \n\nThe upgrade is anticipated to take approx 30 minutes, during which time, there will not be any on-chain activity on the network. \n\nIn the event of an issue at upgrade time, we should coordinate via the validators channel in Discord to come to a quick emergency consensus and mitigate any further issues.

Votes

Voter
Answer