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

chore(oracle): update miss counter docs #2337

Merged
merged 3 commits into from
Nov 28, 2023
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
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:
robert-zaremba marked this conversation as resolved.
Show resolved Hide resolved
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
Loading