Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v6.4.0-beta1 release notes #2455

Merged
merged 10 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,14 @@ Ref: https://keepachangelog.com/en/1.0.0/

## Unreleased

## v6.4.0-beta1 - 2024-03-11

### Features

- [2408](https://github.com/umee-network/umee/pull/2408) New `converter` helper app.
- [2349](https://github.com/umee-network/umee/pull/2349), [2437](https://github.com/umee-network/umee/pull/2437) IBC ICS20 memo handlers.
- [2349](https://github.com/umee-network/umee/pull/2349), [2437](https://github.com/umee-network/umee/pull/2437), [2411](https://github.com/umee-network/umee/pull/2411), [2442](https://github.com/umee-network/umee/pull/2442), [2443](https://github.com/umee-network/umee/pull/2443) IBC ICS20 memo handlers.
- [2381](https://github.com/umee-network/umee/pull/2381) Integrated Packet Forward Middleware.
- [2433](https://github.com/umee-network/umee/pull/2433) Noop Axelar GMP handler.

### Improvements

robert-zaremba marked this conversation as resolved.
Show resolved Hide resolved
Expand All @@ -58,8 +62,9 @@ Ref: https://keepachangelog.com/en/1.0.0/

### Bug Fixes

- [2384](https://github.com/umee-network/umee/pull/2384) Fix `sdkclient` acc sequence setting.
- [2417](https://github.com/umee-network/umee/pull/2417) Fix the ibc inflows storing of registered tokens when sender chain is source chain.
robert-zaremba marked this conversation as resolved.
Show resolved Hide resolved

## v6.3.0 - 2024-01-03

### Improvements
Expand Down Expand Up @@ -131,7 +136,7 @@ Ref: https://keepachangelog.com/en/1.0.0/

### Improvements

- [2256](https://github.com/umee-network/umee/pull/2256) unify and refactore `client` package.
- [2256](https://github.com/umee-network/umee/pull/2256) unify and refactor `client` package.
robert-zaremba marked this conversation as resolved.
Show resolved Hide resolved
- [2261](https://github.com/umee-network/umee/pull/2261) Use go 1.21
- [2267](https://github.com/umee-network/umee/pull/2267) Leverage transactions accept spot prices up to 3 minutes old, and leverage queries use most recent spot price when required.
- [2263](https://github.com/umee-network/umee/pull/2263) Add spot price fields to account summary.
Expand All @@ -148,7 +153,7 @@ Ref: https://keepachangelog.com/en/1.0.0/

## [v6.0.2](https://github.com/umee-network/umee/releases/tag/v6.0.2) - 2023-09-20

### BugFix
### Bug Fixs
robert-zaremba marked this conversation as resolved.
Show resolved Hide resolved

- [2257](https://github.com/umee-network/umee/pull/2257) fix(oracle): missing avg params.

Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ See [Release procedure](CONTRIBUTING.md#release-procedure) for more information
| v6.1.x | ✓ | v0.46.15+ | v6.2.x | --- | umee/v2.1.7+ | --- | v1.3.0 |
| v6.2.x | ✓ | v0.47.6+ | v7.2.x | --- | umee/v2.3.0 | --- | v1.5.0 |
| v6.3.x | ✓ | v0.47.7+ | v7.3.1 | --- | umee/v2.3.0+ | --- | v1.5.0 |
| v6.4.x | x | v0.47.10+ | v7.3.2 | --- | umee/v2.4.1+ | --- | v1.5.2 |
robert-zaremba marked this conversation as resolved.
Show resolved Hide resolved

#### Price Feeder

robert-zaremba marked this conversation as resolved.
Show resolved Hide resolved
Expand All @@ -72,9 +73,9 @@ Since `Price Feeder v2.1.0` the recommended oracle price feeder has been moved t

When you build the binary from source on the server machine you probably don't need any change. Building from source automatically link the `libwasmvm.$(uname -m).so` created as a part of the build process.

However when you download a binary from GitHub, or from other source, make sure you have required version of `libwasmvm.<cpu_arch>.so` (should be in your lib directory, e.g.: `/usr/local/lib/`). You can get it:
However when you download a binary from GitHub, or from another source, make sure you have the required version of `libwasmvm.<cpu_arch>.so` (should be in your lib directory, e.g.: `/usr/local/lib/`). You can get it:

- from you build machine: copy `$GOPATH/pkg/mod/github.com/!cosm!wasm/wasmvm@v<version>/internal/api/libwasmvm.$(uname -m).so`
- from your build machine: copy `$GOPATH/pkg/mod/github.com/!cosm!wasm/wasmvm@v<version>/internal/api/libwasmvm.$(uname -m).so`
- or download from CosmWasm GitHub `wget https://raw.githubusercontent.com/CosmWasm/wasmvm/v<version>/internal/api/libwasmvm.$(uname -m).so -O /lib/libwasmvm.$(uname -m).so`

You don't need to do anything if you are using our Docker image.
Expand Down Expand Up @@ -102,7 +103,7 @@ docker build -t umee-network/umeed -f contrib/images/umeed.dockerfile .
# start bash
docker run -it --name umeed umee-network/umeed bash

# or start the start the node if you already have a node directory setup
# or start the node if you already have a node directory setup
robert-zaremba marked this conversation as resolved.
Show resolved Hide resolved
docker run -it --name umeed umee-network/umeed umeed start
```

Expand Down
33 changes: 27 additions & 6 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,43 @@

# Release Notes

robert-zaremba marked this conversation as resolved.
Show resolved Hide resolved
Release Procedure is defined in the [CONTRIBUTING](CONTRIBUTING.md#release-procedure) document.
The Release Procedure is defined in the [CONTRIBUTING](CONTRIBUTING.md#release-procedure) document.

## v6.3.0
## v6.4.0

Highlights:

- Cosmos SDK v0.47.7 patch update.
- New queries: `oracle/MissCounters`, `uibc/Inflows`, `uibc/QuotaExpires`, `leverage/RegisteredTokenMarkets`
- Cosmos SDK v0.47.10 patch update.
- IBC Hooks: we integrated ICS20 Memo handling.
- Update `uibc/MsgGovUpdateQuota` Msg type to handle the new inflow parameters.
- Update `uibc/QueryAllOutflowsResponse` to include denom symbol (token name) in every outflow.

[CHANGELOG](CHANGELOG.md)

### IBC Hooks

This release brings the first part of the seamless cross-chain money market transactions. At UX, we want to provide the best User Experience for handling lending and leverage. In this release, we support the following `x/leverage` messages:

- `MsgSupply`
- `MsgSupplyCollateral`
- `MsgLiquidate`

The operation can only use tokens as the part of the IBC transfer (after any intermediate deductions) and the supplier / liquidator must be the IBC recipient (acting on someone else's behalf is not allowed). Authz is not supported. The remaining tokens will be credited to the recipient.

### Validators

**Upgrade Title** (for Cosmovisor): **v6.3**.
**Upgrade Title** (for Cosmovisor): **v6.4**.

Update Price Feeder to `umee/2.4.1+`.

#### libwasmvm update

Our dependencies have been updated. The binary requires `libwasmvm v1.5.2`. When you build the binary from source on the server machine you probably don't need any change. However, when you download a binary from GitHub, or from another source, make sure you update the `/usr/lib/libwasmvm.<cpu_arch>.so`. For example:

- copy from `$GOPATH/pkg/mod/github.com/!cosm!wasm/[email protected]/internal/api/libwasmvm.$(uname -m).so`
- or download from github `wget https://raw.githubusercontent.com/CosmWasm/wasmvm/v1.5.2/internal/api/libwasmvm.$(uname -m).so -O /lib/libwasmvm.$(uname -m).so`

You don't need to do anything if you are using our Docker image.

### Upgrade instructions

Expand All @@ -28,7 +49,7 @@ Highlights:
- 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.
- Ensure latest Price Feeder (see [compatibility matrix](https://github.com/umee-network/umee/#release-compatibility-matrix)) is running and check your price feeder config is up to date.
- Ensure latest Price Feeder (see [compatibility matrix](https://github.com/umee-network/umee/#release-compatibility-matrix)) is running and ensure your price feeder configuration is up-to-date.
- Restart the chain.

You can use Cosmovisor → see [instructions](https://github.com/umee-network/umee/#cosmovisor).
Expand Down
16 changes: 9 additions & 7 deletions docs/VALIDATOR.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,29 @@ This document describes a process of joining a testnet or a mainnet as a validat

## Umeeversity

Full documentation is hosted at [learning.ux.xyz](https://learning.ux.xyz). However, it may not be up to date.
Full documentation is hosted at [learning.ux.xyz](https://learning.ux.xyz). However, it may not be up-to-date.

## Getting a Binary

You need 2 binaries to run a validator: `umeed` and `price-feeder`.

Make sure you run the right binary for the testnet or the mainnet. Consult the chain upgrades on [mainnet](https://www.mintscan.io/umee/proposals) and [testnet](https://explorer.network.umee.cc/Canon-4/gov).

### Umeed

You can get a binary by:

1. [Build](./README.md#build) yourself and follow the latest [Release Notes](./RELEASE_NOTES.md). Make sure you run the right binary for the testnet or the mainnet. Consult the chain upgrades on [mainnet](https://www.mintscan.io/umee/proposals) and [testnet](https://explorer.network.umee.cc/Canon-4/gov).
1. [Build](../README.md#build) yourself and follow the latest [Release Notes](../RELEASE_NOTES.md).

2. If you build the binary on a different OS than your validator OS, then you need to copy `libwasmvm`:
robert-zaremba marked this conversation as resolved.
Show resolved Hide resolved

```sh
scp $GOPATH/pkg/mod/github.com/!cosm!wasm/wasmvm@<version>/internal/api/libwasmvm.$(uname -m).so running_os:/<lib/path>
```

NOTE: use the correct `wasmvm` version, according to the latest [Release Notes](./RELEASE_NOTES.md) or the [compatibility matrix](./README.md#release-compatibility-matrix).
NOTE: use the correct `wasmvm` version, according to the latest [Release Notes](../RELEASE_NOTES.md) or the [compatibility matrix](../README.md#release-compatibility-matrix).

3. Download the right [binary build](https://github.com/umee-network/umee/releases) or use a [container image](https://github.com/umee-network/umee/pkgs/container/umeed) (docker). The binary build is compatible with the latest Ubuntu LTS x86-64. You MUST also copy the `libwasmvm` (see note in 2. about libwasmvm version):
3. Download the right [binary build](https://github.com/umee-network/umee/releases). The binary build is compatible with the latest Ubuntu LTS x86-64. You MUST also copy the `libwasmvm` (See note in 2. about libwasmvm version):

```sh
wget https://raw.githubusercontent.com/CosmWasm/wasmvm/<version>/internal/api/libwasmvm.$(uname -m).so -O /lib/libwasmvm.$(uname -m).so
Expand All @@ -37,14 +39,14 @@ To test if the `libwasm` is linked correctly, run `umeed version`.
### Price Feeder

We are using Ojo Price Feeder. Please follow the [instructions](https://github.com/ojo-network/price-feeder/blob/umee/README.md). Make sure you use the latest release with the `umee/` prefix (eg: `umee/v2.4.0`).
NOTE: for self building and configuration examples you MUST use the [umee branch](https://github.com/ojo-network/price-feeder/tree/umee).
NOTE: for self building and configuration examples, you MUST use the [umee branch](https://github.com/ojo-network/price-feeder/tree/umee).

- Copy the [`price-feeder.toml`](https://github.com/ojo-network/price-feeder/blob/umee/price-feeder.example.toml).
- For the provider config you can use our latest [umee-provider-config directory](https://github.com/ojo-network/price-feeder/tree/umee/umee-provider-config) as is.

## Running a node

1. Update the `app.toml`, `client.toml` and `config.toml` based on your preference. You MUST set non-zero min gas prices in `app.toml`. Query `umeed q ugov min-gas-price` to see the what is the minimum acceptable value:
1. Update the `app.toml`, `client.toml` and `config.toml` based on your preference. You MUST set non-zero min gas prices in `app.toml`. Query `umeed q ugov min-gas-price` to see what is the minimum acceptable value:

```toml
# your app.toml file
Expand Down Expand Up @@ -83,4 +85,4 @@ Here are our testnet public endpoints:
3. Buy `uumee` to self delegate.
4. Make sure your Price Feeder is running correctly. If your [mainnet window misses](https://price-feeder.com/) are above 50% then something is wrong. Look for a help on Discord.

We recommend to use [Cosmovisor](./README.md#cosmovisor) for mainnet nodes.
We recommend to use [Cosmovisor](../README.md#cosmovisor) for mainnet nodes.
2 changes: 0 additions & 2 deletions x/uibc/uics20/memo_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,6 @@ func (mh MemoHandler) handleMemoMsg(ctx *sdk.Context, msg sdk.Msg) (err error) {
_, err = mh.leverage.Supply(*ctx, msg)
case *ltypes.MsgSupplyCollateral:
_, err = mh.leverage.SupplyCollateral(*ctx, msg)
case *ltypes.MsgBorrow:
_, err = mh.leverage.Borrow(*ctx, msg)
case *ltypes.MsgLiquidate:
_, err = mh.leverage.Liquidate(*ctx, msg)
default:
Expand Down
Loading