From e69822113a586548f66a17d01e4aa1a9496d6381 Mon Sep 17 00:00:00 2001 From: Robert Zaremba Date: Tue, 28 Nov 2023 00:13:41 +0100 Subject: [PATCH 1/2] chore(oracle): update miss counter docs --- RELEASE_NOTES.md | 2 ++ x/oracle/README.md | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 232592104a..513066070a 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -31,6 +31,8 @@ Highlights: Price Feeder `< umee/v2.3.0` is not compatible with Cosmos SDK v0.47. Validators must update to `umee/v2.3.0` or newer. +Please make sure your transactions are going through. If you see _out of gas_ in your transactions ([example](https://explorer.network.umee.cc/Canon-4/tx/74078158E2739CBF7EEA30D6BE673D207338E6686129717A4CED546F36F07CD7)). If you see out of gas errors, please increase `gas_adjustment` in your `price-feeder.toml`. + #### libwasmvm update Our dependencies have been updated. Now the binary requires `libwasmvm v1.5.0`. 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 other source, make sure you update the `/usr/lib/libwasmvm..so`. For example: diff --git a/x/oracle/README.md b/x/oracle/README.md index a1da963380..618816fa9a 100644 --- a/x/oracle/README.md +++ b/x/oracle/README.md @@ -50,7 +50,7 @@ Validators must first pre-commit to a set of exchange rates, then in the subsequ For each exchange rate, if the total voting power of submitted votes exceeds 50%, the weighted median of the votes is recorded on-chain as the effective rate for that denomination against USD for the following `VotePeriod` `P_t+1`. - Exchange rates receiving fewer than `VoteThreshold` total voting power have their exchange rates deleted from the store. + Exchange rates receiving fewer than `VoteThreshold` total voting power will not be updated (will keep the old price with the old timestamp). - Ballot Rewards @@ -78,8 +78,8 @@ The reward pool is not distributed all at once, but instead over a period of tim A `VotePeriod` during which either of the following events occur is considered a "miss": - The validator fails to submits a vote for **each and every** exchange rate specified in `AcceptList`. - - The validator fails to vote within the `reward band` around the weighted median for one or more denominations. +- Validators don't provide enough price votes for a given denom (ballot denom support is less than the required `VoteThreshold`) - in that case all validators will receive a miss. A `SlashWindow` is a window of time during which validators can miss votes. At the end of this period, the amount of misses are tallied and the proper reward or punishment is carried out. From 1b00697eb43c0600feee8e50e3d6ce66423db6d1 Mon Sep 17 00:00:00 2001 From: Robert Zaremba Date: Tue, 28 Nov 2023 15:01:37 +0100 Subject: [PATCH 2/2] Update x/oracle/README.md Co-authored-by: Sai Kumar <17549398+gsk967@users.noreply.github.com> --- x/oracle/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/oracle/README.md b/x/oracle/README.md index 618816fa9a..b545bb8718 100644 --- a/x/oracle/README.md +++ b/x/oracle/README.md @@ -79,7 +79,7 @@ A `VotePeriod` during which either of the following events occur is considered a - The validator fails to submits a vote for **each and every** exchange rate specified in `AcceptList`. - The validator fails to vote within the `reward band` around the weighted median for one or more denominations. -- Validators don't provide enough price votes for a given denom (ballot denom support is less than the required `VoteThreshold`) - in that case all validators will receive a miss. +- Validators don't provide enough price votes for a given denom (ballot denom support is less than the required `VoteThreshold`) - **in that case all validators will receive a miss.** A `SlashWindow` is a window of time during which validators can miss votes. At the end of this period, the amount of misses are tallied and the proper reward or punishment is carried out.