-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into mergify/bp/release/price-feeder/v1.x.x/pr-1442
- Loading branch information
Showing
41 changed files
with
377 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
<!-- markdownlint-disable MD013 --> | ||
<!-- markdownlint-disable MD024 --> | ||
<!-- markdownlint-disable MD040 --> | ||
|
||
# Release Notes | ||
|
||
Release Procedure is defined in the [CONTRIBUTING](CONTRIBUTING.md#release-procedure) document. | ||
|
||
## v3.0.2 | ||
|
||
Gravity Bridge update. In v3.0.0 we enabled Gravity Bridge, but there was an error in the way how the | ||
`ValsetUpdate` attestation is handled, causing the chain to halt in EndBlocker. | ||
The bug didn't involved any security issue and the bridge is safe. | ||
|
||
Update instructions: | ||
|
||
- stop the chain | ||
- swap the binary | ||
- restart (no additional coordination is required) | ||
|
||
## v3.0.1 | ||
|
||
Fix v3.0.0 `Block.Header.LastResultsHash` problem. | ||
During inspections we found that `tx.GasUsage` didn't match across some nodes, causing chain halt: | ||
|
||
``` | ||
ERR prevote step: ProposalBlock is invalid err="wrong Block.Header.LastResultsHash. Expected EDEE3056AA71C73EC8B7089AAA5414D1298EF78ADC4D510498DB834E499E42C2, got 5ADF2EA7E0B31BA21E802071E1A9E4C4803259FE3AFFF17AAA53F93DA1D6264F" height=3216273 module=consensus round=68 | ||
``` | ||
|
||
## v3.0.0 | ||
|
||
v3.0.0 improves upon the _umeemania_ testnet release (v2.0.x) which introduced our **lending** and **oracle** functionality. | ||
|
||
### Highlights since v1.x | ||
|
||
- `x/leverage` module, which allows anyone to: | ||
- supply liquidity (and earn interest) | ||
- collateralize the supplied assets to enable borrowing | ||
- borrow (and pay interest) | ||
- participate in governance of `x/leverage` [parameters](https://github.com/umee-network/umee/blob/main/proto/umee/leverage/v1/leverage.proto) file. | ||
- `x/oracle` module - a decentralized price oracle for the `x/leverage` module, as well as any app built in the Umee blockchain. UMEE holders set `x/oracle` [parameters](https://github.com/umee-network/umee/blob/main/proto/umee/oracle/v1/oracle.proto) by governance. | ||
- Cosmos v0.46 upgrade, which features: | ||
- [`x/group`](https://tutorials.cosmos.network/tutorials/understanding-group/) module | ||
- [`x/nft`](https://github.com/cosmos/cosmos-sdk/tree/v0.46.1/x/nft/spec) module | ||
- [Transaction Tips](https://github.com/cosmos/cosmos-sdk/blob/v0.46.0/RELEASE_NOTES.md#transaction-tips-and-sign_mode_direct_aux) | ||
- [SIGN_MODE_DIRECT_AUX](https://github.com/cosmos/cosmos-sdk/blob/v0.46.0/RELEASE_NOTES.md#transaction-tips-and-sign_mode_direct_aux) | ||
- transaction prioritization | ||
- IBC v5.0 | ||
- Minimum validator commission rate is set to 5% per [prop 16](https://www.mintscan.io/umee/proposals/16). Validators with smaller commission rate will be automatically updated. | ||
|
||
#### x/leverage settings | ||
|
||
The leverage module is by default compiled without support for the `liquidation_targets` query. | ||
|
||
Validators should NOT enable this query on their nodes - it is inefficient due to iterating over all borrower accounts, and can delay time-sensitive consensus operations when a sufficient number of addresses must be checked. | ||
|
||
To run a node capable of supporting a liquidator, enable the query at compile time using `LIQUIDATOR=true make install`. | ||
|
||
### Gravity Bridge | ||
|
||
In `v1.1.x` (current mainnet) we disabled Gravity Bridge (GB) module due to Ethereum PoS migration (_the merge_). | ||
This release is the first step to re-enable GB. We start by enabling validators update and evidence messages (`MsgValsetConfirm` and `MsgValsetUpdatedClaim`), but the bridge messages: batch creation, claims (both ways: Ethereum->Cosmos and Cosmos->Ethereum) remain disabled. | ||
|
||
Validators are expected to run Peggo and update the valiator set in Gravity smart contract. | ||
|
||
See [Gravity Bridge](https://github.com/umee-network/Gravity-Bridge/blob/module/v1.5.3-umee-1/module/RELEASE_NOTES.md) Release Notes. | ||
|
||
### Update notes | ||
|
||
Each validator MUST: | ||
|
||
- Run Peggo (Gravity Bridge Orchestrator) v1.0.x | ||
- Run [Price Feeder](https://github.com/umee-network/umee/tree/main/price-feeder) v1.0.x | ||
- Update `app.toml` file by setting `minimum-gas-prices = "0uumee"`: | ||
|
||
```toml | ||
# The minimum gas prices a validator is willing to accept for processing a | ||
# transaction. A transaction's fees must meet the minimum of any denomination | ||
# specified in this config (e.g. 0.25token1;0.0001token2). | ||
minimum-gas-prices = "0uumee" | ||
``` | ||
|
||
- Update `config.toml` file by setting `mempool.version="v1"`. Ideally you should do it before the upgrade time, then at the upgrade switch binaries and start with the upgraded config: | ||
|
||
```toml | ||
[mempool] | ||
version = "v1" | ||
``` | ||
|
||
Instructions: [umeeversity/validator](https://umeeversity.umee.cc/validators/mainnet-validator.html) | ||
|
||
Failure to run Peggo and Price Feeder results in being slashed, as do certain types of misbehavior such as consistently submitting incorrect prices. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.