Skip to content

v4.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 15 Mar 20:52
· 534 commits to main since this release
079f7d6

Release Notes

Release Procedure is defined in the CONTRIBUTING document.

The main highlight of this release is new x/uibc module which introduces IBC Quota functionality.
We are using it to limit daily (quota resets every 24 hours) IBC outflows in USD value based on our Avg price oracle update. Our current daily quota is 1M USD of total outflows and 600k USD of per token outflows. We only track the x/leverage registered tokens.
Example IBC outflows reaching the daily quota:

  • 600k USD worth of ATOM (this is the max of a single token we can send per day), 400k USD worth of UMEE.
  • 300k USD worth of ATOM, 200k USD worth of STATOM, 250k USD worth of UMEE and 250k USD worth JUNO.

Other highlights:

  • Oracle: Avg prices. We compute average price based on ~16h rolling window.
  • New option is available in app.toml: iavl-lazy-loading (in general settings). When setting to true, lazy loading of iavl store will be enabled and improve start up time of archive nodes.
  • Migration from Tendermint to CometBFT.

See CHANGELOG for a full list of changes.

Validators

Given recent spam transactions in Umee, we request all validators set a minimum-gas-prices setting (in app config/app.toml file, general settings). We recommend 0.1uumee which is equal the current Keplr average setting:

minimum-gas-prices = "0.1uumee"

In next release we will be enforcing the minimum setting.

Peggo

Related to min gas price updates, you MUST also set the related parameter when starting Peggo:

--cosmos-gas-prices="0.1uumee"

Upgrade instructions

  • Note: Skip this step if you build binary from source and are able to properly link libwasmvm.
    • Download libwasmvm:
$ wget https://raw.githubusercontent.com/CosmWasm/wasmvm/v1.1.1/internal/api/libwasmvm.$(uname -m).so -O /lib/libwasmvm.$(uname -m).so
  • Download latest binary or build from source.
  • Run the binary to make sure it works for you: umeed --version
  • Wait for software upgrade proposal to pass and trigger the chain upgrade.
  • Swap binaries.
  • Restart the chain.
  • Ensure latest Peggo (v1.4.0) is running
  • Ensure latest Price Feeder (v2.1.0) is running

You can use Cosmovisor → see instructions.

NOTE: BEFORE the upgrade, make sure the binary is working and libwasmvm is in your system. You can test it by running ./umeed-v4.1.0 --version.

Docker

Docker images are available in ghcr.io umee-network repository.

Please Note:

Building from source will automatically link the libwasmvm.x86_64.so created as a part of the build process (you must build on the same host as you run the binary, or copy the libwasmvm.x86_64.so your lib directory).

If you build on system different than Linux amd64, then you need to download appropriate version of libwasmvm (eg from CosmWasm/wasmvm Releases) or build it from source (you will need Rust toolchain).

Otherwise you have to download libwasmvm. Please check Supported Platforms. Example:

wget https://raw.githubusercontent.com/CosmWasm/wasmvm/v1.1.1/internal/api/libwasmvm.$(uname -m).so -P /lib/