Skip to content

Commit

Permalink
Merge branch 'main' into robert/uibc-refactore
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-zaremba committed Dec 1, 2023
2 parents 672c7b9 + b754f14 commit c0885c8
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
with:
PATTERNS: |
**/**.go
FILES: |
go.mod
go.sum
- uses: golang/[email protected]
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/simulations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
with:
PATTERNS: |
**/**.go
FILES: |
go.mod
go.sum
- uses: actions/setup-go@v4
Expand All @@ -58,6 +59,7 @@ jobs:
with:
PATTERNS: |
**/**.go
FILES: |
go.mod
go.sum
- uses: actions/setup-go@v4
Expand Down Expand Up @@ -87,6 +89,7 @@ jobs:
with:
PATTERNS: |
**/**.go
FILES: |
go.mod
go.sum
- uses: actions/setup-go@v4
Expand Down Expand Up @@ -115,6 +118,7 @@ jobs:
with:
PATTERNS: |
**/**.go
FILES: |
go.mod
go.sum
- uses: actions/setup-go@v4
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
with:
PATTERNS: |
**/**.go
FILES: |
go.mod
go.sum
- name: Setup go
Expand All @@ -71,6 +72,7 @@ jobs:
with:
PATTERNS: |
**/**.go
FILES: |
go.mod
go.sum
- uses: actions/setup-go@v4
Expand Down Expand Up @@ -102,6 +104,7 @@ jobs:
with:
PATTERNS: |
**/**.go
FILES: |
go.mod
go.sum
- uses: actions/setup-go@v4
Expand All @@ -127,6 +130,7 @@ jobs:
with:
PATTERNS: |
**/**.go
FILES: |
go.mod
go.sum
Expand Down
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
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
cosmossdk.io/tools/rosetta v0.2.1
github.com/CosmWasm/wasmd v0.43.0
github.com/CosmWasm/wasmvm v1.5.0
github.com/cometbft/cometbft v0.37.2
github.com/cometbft/cometbft v0.37.4
github.com/cometbft/cometbft-db v0.8.0
github.com/cosmos/cosmos-proto v1.0.0-beta.2 // NOTE: v1.0.0-beta.2+ is not compatible with sdk v0.47
github.com/cosmos/cosmos-sdk v0.47.6
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,8 @@ github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE
github.com/coinbase/kryptology v1.8.0/go.mod h1:RYXOAPdzOGUe3qlSFkMGn58i3xUA8hmxYHksuq+8ciI=
github.com/coinbase/rosetta-sdk-go v0.7.9 h1:lqllBjMnazTjIqYrOGv8h8jxjg9+hJazIGZr9ZvoCcA=
github.com/coinbase/rosetta-sdk-go v0.7.9/go.mod h1:0/knutI7XGVqXmmH4OQD8OckFrbQ8yMsUZTG7FXCR2M=
github.com/cometbft/cometbft v0.37.2 h1:XB0yyHGT0lwmJlFmM4+rsRnczPlHoAKFX6K8Zgc2/Jc=
github.com/cometbft/cometbft v0.37.2/go.mod h1:Y2MMMN//O5K4YKd8ze4r9jmk4Y7h0ajqILXbH5JQFVs=
github.com/cometbft/cometbft v0.37.4 h1:xyvvEqlyfK8MgNIIKVJaMsuIp03wxOcFmVkT26+Ikpg=
github.com/cometbft/cometbft v0.37.4/go.mod h1:Cmg5Hp4sNpapm7j+x0xRyt2g0juQfmB752ous+pA0G8=
github.com/cometbft/cometbft-db v0.8.0 h1:vUMDaH3ApkX8m0KZvOFFy9b5DZHBAjsnEuo9AKVZpjo=
github.com/cometbft/cometbft-db v0.8.0/go.mod h1:6ASCP4pfhmrCBpfk01/9E1SI29nD3HfVHrY4PG8x5c0=
github.com/confio/ics23/go v0.9.0 h1:cWs+wdbS2KRPZezoaaj+qBleXgUk5WOQFMP3CQFGTr4=
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 c0885c8

Please sign in to comment.