MoonRunners
LogoLogo

696

  1. /
  2. Osmosis
  3. /
  4. Mainnet
  5. /
  6. Governance
  7. /
  8. 696
  • Docs
  • Support
2026 © Made with 💜 by MoonRunnersAPI OK
DocsSupportDonate

Proposal #696

Osmosis v21 Software Upgrade

PassedSoftware Upgrade Proposal

Passed on 18 Dec 2023 with 99.8% of the votes for yes.

Yes

99.8%

100.0% without abstain

Veto

0.0%

of votes cast

Ended

18 Dec 2023

The ballotvotes cast · final tally
Yes

99.82%

of votes cast

Abstain

0.17%

of votes cast

No

0.01%

of votes cast

Veto

0.00%

of votes cast

This is a proposal to do a software upgrade to the v21.0.0 software tag of the Osmosis codebase on block height 12834100, which is estimated to occur on Monday December 18th, UTC 16:00. Block times have high variance, so please monitor the chain for more precise time estimates.

Upgrade Features

This upgrade adds the following features:

[Hidden link]

  • Moves Osmosis towards using the mainline Cosmos SDK version
    • Reduces overhead of maintaining a highly divergent fork
    • Makes future sdk upgrades simpler
    • Allows Osmosis improvements to be upstreamed to other Cosmos chains.

[Hidden link]

  • Taker fees, Transaction Fees and Cyclic Arb revenue are now all queryable on chain via the protorev module.

[Hidden link]

  • External service that allows the calculation of optimal routes through Osmosis pools for transactions to be queried by third parties.

Miscellaneous

  • Concentrated liquidity hooks added to [Hidden link] in advance of [Hidden link].
  • EstimateTradeBasedOnPriceImpact [Hidden link].
  • ProtoRev module [Hidden link] on arbitrage backruns, improving the alignment between differing liquidity locations.
  • Several improvements relating to mempool filtering, [Hidden link].
  • Wasmd [Hidden link]

See the [Hidden link] for more API Breaking, State Breaking and other miscellaneous changes.

Getting Prepared for the Upgrade

To build the binary, be sure to install golang >= 1.20. As 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. If using Cosmovisor, manually build & copy the osmosisd binary to /cosmovisor/upgrades/v21/bin/. If not using Cosmovisor, wait for your node to halt at the upgrade height, then install and run the v21.0.0 binary.

Details of Upgrade Time

The proposal targets the upgrade proposal block to be 12834100, anticipated to be on Monday December 18th, UTC 16:00. Note that block times have high variance, so keep monitoring the time. See countdown [Hidden link]. The upgrade is anticipated to take approx 30 minutes, during which time, there will not be any on-chain activity on the network. In 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.

Timeline

  1. Submitted13 Dec 2023
  2. Voting started13 Dec 2023
  3. Voting ended18 Dec 2023
  4. Deposit deadline27 Dec 2023

Proposer

Address
Deposit1.6K

Rules

Not recorded for this proposal.