Skip to content

Commit

Permalink
chore(oracle): update miss counter docs (#2337)
Browse files Browse the repository at this point in the history
* chore(oracle): update miss counter docs

* Update x/oracle/README.md

Co-authored-by: Sai Kumar <[email protected]>

---------

Co-authored-by: Sai Kumar <[email protected]>
  • Loading branch information
robert-zaremba and gsk967 authored Nov 28, 2023
1 parent 32167c7 commit faade06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.<cpu_arch>.so`. For example:
Expand Down
4 changes: 2 additions & 2 deletions x/oracle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit faade06

Please sign in to comment.