osmosis

Prop 401: Osmosis v14 Neon Upgrade

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

NOTE: this upgrade requires golang version 1.19 to be used in building the binary.

# Upgrade Features
This upgrade adds the following features:

## Geometric TWAP
Geometric Time Weighted Average Price (TWAP) is now available as a price oracle for pools. Geometric TWAPs should theoretically be more accurate in measuring the actual price over time of a pool than the more commonly used, but also available, Arithmetic mean TWAP.

## Downtime Detection Module
This module detects if the Osmosis chain has been down for a period of time, allowing users of price oracles to wait until any price differential between on-chain liquidity and wider liquidity has been arbitraged away.

## IBC <> Cosmwasm Composability Work
Added hooks that provide sender information when transferring tokens to a contract between chains. This for instance suffices for someone to build ICA via cosmwasm. Added the ability for IBC txs to register a callback that forwards into a smart contract upon packet lifecycle completion. (Timeout, or reached destination)

## IBC upgrade to v4.2.0
IBC v4.2.0 is required to make cross chain wasm hooks reusable, allowing usecases such as cross-chain swaps.

Full Change Log

# Getting Prepared for the Upgrade
To build the binary, be sure to install golang 1.19.
As always, we recommend validators utilize 64GB of RAM. Since state migration is relatively negligible in this upgrade, it is likely 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/v14/bin/.
If not using cosmovisor, wait for your node to halt at the upgrade height, then install and run the v14.0.0 binary.

## Details of Upgrade Time
The proposal targets the upgrade proposal block to be 7937500, anticipated to be on Monday January 23rd, UTC 16:00. Note that block times have high variance, so keep monitoring the time. See countdown here.
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.

Field
Data
info
https://raw.githubusercontent.com/osmosis-labs/osmosis/main/networks/osmosis-1/upgrades/v14/v14_binaries.json
name
v14
time
0001-01-01T00:00:00Z
height
7937500
upgraded_client_state