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

fix: RewardBallotWinners determinism #1433

Merged
merged 3 commits into from
Sep 20, 2022
Merged

Conversation

robert-zaremba
Copy link
Member

@robert-zaremba robert-zaremba commented Sep 20, 2022

Description

Fixes RC1 Canon consensus failure.

Bug was in: https://github.com/umee-network/umee/pull/1433/files#diff-971aeedb004816fd5770d86dfa2d9ee39c5e53d7802773dd9e81cbc2cf890f62L60


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • included the correct type prefix in the PR title
  • added ! to the type prefix if API or client breaking change
  • added appropriate labels to the PR
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • added a changelog entry to CHANGELOG.md
  • included comments for documenting Go code
  • updated the relevant documentation or specification
  • reviewed "Files changed" and left comments if necessary
  • confirmed all CI checks have passed

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

I have...

  • confirmed the correct type prefix in the PR title
  • confirmed all author checklist items have been addressed
  • reviewed state machine logic
  • reviewed API design and naming
  • reviewed documentation is accurate
  • reviewed tests and test coverage
  • manually tested (if applicable)

@robert-zaremba robert-zaremba added T:Bug A regression or bug in the Umee codebase. C:x/oracle labels Sep 20, 2022
@robert-zaremba robert-zaremba added this to the v3 milestone Sep 20, 2022
@robert-zaremba robert-zaremba requested a review from a team as a code owner September 20, 2022 16:35
@robert-zaremba robert-zaremba force-pushed the robert/fix-oracle-rewards branch from 0857d71 to 6ae3163 Compare September 20, 2022 16:37
Copy link
Collaborator

@adamewozniak adamewozniak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved 👍 was this introduced in #1391 or was this in the oracle previously / should we have seen that in the latest beta?

@robert-zaremba
Copy link
Member Author

approved +1 was this introduced in #1391 or was this in the oracle previously / should we have seen that in the latest beta?

No. #1381 didn't touch RewardBallotWinners. Basically, the bug is that we iterate over a map for k.distrKeeper.AllocateTokensToValidator to send distributions in an AVL tree. I will make it more clear in few secs

@adamewozniak
Copy link
Collaborator

approved +1 was this introduced in #1391 or was this in the oracle previously / should we have seen that in the latest beta?

No. #1381 didn't touch RewardBallotWinners. Basically, the bug is that we iterate over a map for k.distrKeeper.AllocateTokensToValidator to send distributions in an AVL tree. I will make it more clear in few secs

How come we didn't see this in any of the betas then?

@toteki
Copy link
Member

toteki commented Sep 20, 2022

Map nondeterminism bugs are elusive - they'll only reveal themselves if the underlying data were arranged differently, and the conditions when that will appear in practice are undefined.

Probably didn't appear in betas due to the small number of validators, operating under similar conditions

@codecov-commenter
Copy link

Codecov Report

Merging #1433 (19e1e01) into main (1f8bc6f) will increase coverage by 0.00%.
The diff coverage is 66.66%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1433   +/-   ##
=======================================
  Coverage   52.80%   52.81%           
=======================================
  Files          70       70           
  Lines        6751     6752    +1     
=======================================
+ Hits         3565     3566    +1     
  Misses       2916     2916           
  Partials      270      270           
Impacted Files Coverage Δ
ante/fee.go 78.35% <33.33%> (ø)
app/upgrades/v3/min_commission.go 85.71% <100.00%> (ø)
x/oracle/client/tests/suite.go 98.38% <100.00%> (ø)
x/oracle/keeper/reward.go 86.36% <100.00%> (+0.31%) ⬆️

@RafilxTenfen
Copy link
Contributor

RafilxTenfen commented Sep 20, 2022

ohhh, so in the sum part it didn't matter that much, because sum the whole amount in map or slice is the same thing,
but when we iterate again here to send rewards, it matters

@robert-zaremba is that right?

@mergify mergify bot merged commit 09bbf02 into main Sep 20, 2022
@mergify mergify bot deleted the robert/fix-oracle-rewards branch September 20, 2022 17:24
@robert-zaremba
Copy link
Member Author

@RafilxTenfen correct.

rbajollari added a commit that referenced this pull request Oct 4, 2022
…1442) (#1466)

* docs: price-feeder updates (#1423)

* docs: release notes draft (#1404)

## Description
+ Adding a first version of the release notes
+ backported changelog notes related to v1.1 release

---

### Author Checklist

_All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues._

I have...

- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] added appropriate labels to the PR
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/umee-network/umee/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

_All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items._

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)

* Use 1.2 gas_adjustment in price-feeder e2e tests (#1420)

* fix: moved to v300rc1 (#1428)

* moved to v300rc1

* add #1428 to changelog

Co-authored-by: toteki <63419657+toteki@users.noreply.github.com>

* fix: oracle EndBlocker must be before gov and staking (#1434)

* fix: RewardBallotWinners determinism (#1433)

## Description

Fixes RC1 Canon consensus failure.

Bug was in: https://github.com/umee-network/umee/pull/1433/files#diff-971aeedb004816fd5770d86dfa2d9ee39c5e53d7802773dd9e81cbc2cf890f62L60

---

### Author Checklist

_All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues._

I have...

- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] added appropriate labels to the PR
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/umee-network/umee/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

_All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items._

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)

* fix: oracle.RewardBallotWinner detect duplicated uumee (#1432)

## Description



---

### Author Checklist

_All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues._

I have...

- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] added appropriate labels to the PR
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/umee-network/umee/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

_All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items._

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)

* chore: update gravity bridge (#1435)

## Description

backporting the "disable slashing"

* fix: oracle endblocker order fix (#1438)

* feat: ibc ante handlers and upgrade cleanup (#1441)

## Description

streamming down #1425 changes.

---

### Author Checklist

_All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues._

I have...

- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] added appropriate labels to the PR
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/umee-network/umee/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

_All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items._

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)

* docs: update release notes (#1427)

* doc: update release notes

* add app config.yaml update instructions

* review

* update the changelog

* add more details about the mempool

* Update RELEASE_NOTES.md

Co-authored-by: toteki <63419657+toteki@users.noreply.github.com>

* Version comments

Co-authored-by: Adam Wozniak <29418299+adamewozniak@users.noreply.github.com>
Co-authored-by: toteki <63419657+toteki@users.noreply.github.com>

* fix: fix the github workflow for upgrade (#1444)

## Description

closes: #XXXX

---

### Author Checklist

_All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues._

I have...

- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] added appropriate labels to the PR
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/umee-network/umee/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

_All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items._

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)

* fix: token registry cache (#1450)

* fix: token registry cache

* changelog

* docs: v3.0.1 release notes (#1453)

---

### Author Checklist

_All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues._

I have...

- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] added appropriate labels to the PR
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/umee-network/umee/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

_All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items._

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)

* fix: update & fix gravity bridge (#1460)

* update & fix gravity bridge

* release notes

* changelog

* build(deps): Bump github.com/cosmos/ibc-go/v5 from 5.0.0-rc2 to 5.0.0 (#1458)

Bumps [github.com/cosmos/ibc-go/v5](https://github.com/cosmos/ibc-go) from 5.0.0-rc2 to 5.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/cosmos/ibc-go/releases">github.com/cosmos/ibc-go/v5's releases</a>.</em></p>
<blockquote>
<h2>v5.0.0</h2>
<p>This release bumps the Cosmos SDK to v0.46.1 (for more information, see <a href="https://github.com/cosmos/cosmos-sdk/releases/tag/v0.46.1">Cosmos SDK v0.46 Release Notes</a>) and Tendermint to v0.34.21 (for more information, see <a href="https://github.com/tendermint/tendermint/blob/v0.34.21/CHANGELOG.md#v03421">Tendermint 0.34.21 changelog</a>). It also introduces several code style improvements flagged by linting tools. We present here a summary of the most relevant changes, but please see the <a href="https://github.com/cosmos/ibc-go/blob/v5.0.0/CHANGELOG.md">v5.0.0 changelog</a> for the full set of changes included in this release.</p>
<h3>core/02-client</h3>
<ul>
<li>Missing transactions flags have been added to the CLI commands for <a href="https://github.com/cosmos/ibc-go/blob/v5.0.0/modules/core/02-client/client/cli/tx.go#L126">updating client</a> and <a href="https://github.com/cosmos/ibc-go/blob/v5.0.0/modules/core/02-client/client/cli/tx.go#L170">submitting misbehavior</a>.</li>
<li>Missing query flags have been added to the CLI query for <a href="https://github.com/cosmos/ibc-go/blob/v5.0.0/modules/core/02-client/client/cli/query.go#L122">client status</a>.</li>
</ul>
<h3>apps/27-interchain-accounts</h3>
<ul>
<li>Support for Cosmos-SDK simulation has been added.</li>
<li>The <a href="https://github.com/cosmos/ibc-go/blob/v5.0.0/modules/apps/27-interchain-accounts/controller/keeper/grpc_query.go#L17"><code>InterchainAccount</code> gRPC query endpoint</a> and <a href="https://github.com/cosmos/ibc-go/blob/v5.0.0/modules/apps/27-interchain-accounts/controller/client/cli/query.go#L15">CLI query</a> have been added to the controller submodule to allow end users the ability to inspect the interchain account address generated on the host chain. has been added the controller submodule to allow users to retrieve the registered interchain account addresses on the host chain.</li>
<li>A <a href="https://github.com/cosmos/ibc-go/blob/v5.0.0/modules/apps/27-interchain-accounts/types/router.go#L10-L12"><code>MessageRouter</code> interface</a> has been added. It has replaced the <code>*baseapp.MsgServiceRouter</code> used in the <a href="https://github.com/cosmos/ibc-go/blob/v5.0.0/modules/apps/27-interchain-accounts/controller/keeper/keeper.go#L32">controller</a> and <a href="https://github.com/cosmos/ibc-go/blob/v5.0.0/modules/apps/27-interchain-accounts/host/keeper/keeper.go#L33">host</a> keepers.</li>
</ul>
<h3>testing</h3>
<ul>
<li>A new <a href="https://github.com/cosmos/ibc-go/blob/v5.0.0/testing/types/expected_keepers.go#L10-L12">interface <code>ibctestingtypes.StakingKeeper</code></a> has been added. It is used for the <a href="https://github.com/cosmos/ibc-go/blob/v5.0.0/testing/app.go#L39">testing app <code>StakingKeeper</code> setup</a>.</li>
</ul>
<p>Special thanks to our external contributors on this release: <a href="https://github.com/faddat"><code>@​faddat</code></a> <a href="https://github.com/Taztingo"><code>@​Taztingo</code></a> <a href="https://github.com/jhernandezb"><code>@​jhernandezb</code></a></p>
<hr />
<p>To learn more about ibc-go versioning, please read our <a href="https://github.com/cosmos/ibc-go/blob/main/RELEASES.md">RELEASES.md</a>.</p>
<p><strong>IMPORTANT</strong>: Please read the migration guides for any versions of ibc-go that you might be going through when upgrading to this version. For example: if you upgrade from the IBC module contained in the Cosmos SDK 0.42.0 to SDK v0.46.1 and ibc-go v5.0.0, please follow:</p>
<ol>
<li>The <a href="https://github.com/cosmos/ibc-go/blob/v5.0.0/docs/migrations/sdk-to-v1.md">migration from SDK 0.41.x or 0.42.x to the IBC module in the ibc-go repository based on the SDK v0.44.x</a>.</li>
<li>The <a href="https://github.com/cosmos/ibc-go/blob/v5.0.0/docs/migrations/v1-to-v2.md">migration from ibc-go v1 to v2</a>.</li>
<li>The <a href="https://github.com/cosmos/ibc-go/blob/v5.0.0/docs/migrations/v2-to-v3.md">migration from ibc-go v2 to v3</a>.</li>
<li>The <a href="https://github.com/cosmos/ibc-go/blob/v5.0.0/docs/migrations/v3-to-v4.md">migration from ibc-go v3 to v4</a>.</li>
<li>The <a href="https://github.com/cosmos/ibc-go/blob/v5.0.0/docs/migrations/v4-to-v5.md">migration from ibc-go v4 to v5</a>.</li>
</ol>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/cosmos/ibc-go/blob/v5.0.0/CHANGELOG.md">github.com/cosmos/ibc-go/v5's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/cosmos/ibc-go/releases/tag/v5.0.0">v5.0.0</a> - 2022-09-28</h2>
<h3>Dependencies</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1653">#1653</a> Bump SDK version to v0.46</li>
<li><a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/2124">#2124</a> Bump SDK version to v0.46.1</li>
</ul>
<h3>API Breaking</h3>
<ul>
<li>(testing)<a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/2028">#2028</a> New interface <code>ibctestingtypes.StakingKeeper</code> added and set for the testing app <code>StakingKeeper</code> setup.</li>
<li>(core/04-channel) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1418">#1418</a> <code>NewPacketId</code> has been renamed to <code>NewPacketID</code> to comply with go linting rules.</li>
<li>(core/ante) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1418">#1418</a> <code>AnteDecorator</code> has been renamed to <code>RedundancyDecorator</code> to comply with go linting rules and to give more clarity to the purpose of the Decorator.</li>
<li>(core/ante) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1418">#1820</a> <code>RedundancyDecorator</code> has been renamed to <code>RedundantRelayDecorator</code> to make the name for explicit.</li>
<li>(testing) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1418">#1418</a> <code>MockIBCApp</code> has been renamed to <code>IBCApp</code> and <code>MockEmptyAcknowledgement</code> has been renamed to <code>EmptyAcknowledgement</code> to comply with go linting rules</li>
<li>(apps/27-interchain-accounts) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/2058">#2058</a> Added <code>MessageRouter</code> interface and replaced <code>*baseapp.MsgServiceRouter</code> with it. The controller and host keepers of apps/27-interchain-accounts have been updated to use it.</li>
<li>(apps/27-interchain-accounts)<a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/2302">#2302</a> Handle unwrapping of channel version in interchain accounts channel reopening handshake flow. The <code>host</code> submodule <code>Keeper</code> now requires an <code>ICS4Wrapper</code> similarly to the <code>controller</code> submodule.</li>
</ul>
<h3>Improvements</h3>
<ul>
<li>(27-interchain-accounts) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/1352">#1352</a> Add support for Cosmos-SDK simulation to ics27 module.</li>
<li>(linting) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1418">#1418</a> Fix linting errors, resulting compatiblity with go1.18 linting style, golangci-lint 1.46.2 and the revivie linter.  This caused breaking changes in core/04-channel, core/ante, and the testing library.</li>
</ul>
<h3>Features</h3>
<ul>
<li>(apps/27-interchain-accounts) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/2193">#2193</a> Adding <code>InterchainAccount</code> gRPC query endpont to ICS27 <code>controller</code> submodule to allow users to retrieve registered interchain account addresses.</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>(27-interchain-accounts) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/2308">#2308</a> Nil checks have been added to ensure services are not registered for nil host or controller keepers.</li>
<li>(makefile) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1785">#1785</a> Fetch the correct versions of protocol buffers dependencies from tendermint, cosmos-sdk, and ics23.</li>
<li>(modules/core/04-channel)<a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1919">#1919</a> Fixed formatting of sequence for packet &quot;acknowledgement written&quot; logs.</li>
</ul>
<h2><a href="https://github.com/cosmos/ibc-go/releases/tag/v3.1.0">v3.1.0</a> - 2022-04-16</h2>
<h3>Dependencies</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1300">#1300</a> Bump SDK version to v0.45.4</li>
</ul>
<h3>API Breaking</h3>
<h3>State Machine Breaking</h3>
<h3>Improvements</h3>
<ul>
<li>(transfer) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1342">#1342</a> <code>DenomTrace</code> grpc now takes in either an <code>ibc denom</code> or a <code>hash</code> instead of only accepting a <code>hash</code>.</li>
<li>(modules/core/04-channel) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1160">#1160</a> Improve <code>uint64 -&gt; string</code> performance in <code>Logger</code>.</li>
<li>(modules/core/04-channel) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1279">#1279</a> Add selected channel version to MsgChanOpenInitResponse and MsgChanOpenTryResponse. Emit channel version during OpenInit/OpenTry</li>
<li>(modules/core/keeper) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1284">#1284</a> Add sanity check for the keepers passed into <code>ibckeeper.NewKeeper</code>. <code>ibckeeper.NewKeeper</code> now panics if any of the keepers passed in is empty.</li>
<li>(transfer) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1414">#1414</a> Emitting Sender address from <code>fungible_token_packet</code> events in <code>OnRecvPacket</code> and <code>OnAcknowledgementPacket</code>.</li>
<li>(modules/core/04-channel) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1464">#1464</a> Emit a channel close event when an ordered channel is closed.</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/cosmos/ibc-go/commit/ed56c0b7bf64f44fb9e87ad2756bea1d6ca6ce54"><code>ed56c0b</code></a> update changelog for v5.0.0 release</li>
<li><a href="https://github.com/cosmos/ibc-go/commit/7e5c0e284994e56d404519fb73443b3999f3e636"><code>7e5c0e2</code></a> revert <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/2361">#2361</a> (<a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/2410">#2410</a>)</li>
<li><a href="https://github.com/cosmos/ibc-go/commit/1b538f7da5568a3fe1281f0d2ec7db41e091054f"><code>1b538f7</code></a> docs: add ics29 integration for sdk module (<a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/2394">#2394</a>) (<a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/2408">#2408</a>)</li>
<li><a href="https://github.com/cosmos/ibc-go/commit/833f5781c08dd38e53d008a581c3b6f1615f212d"><code>833f578</code></a> Update v4-to-v5.md</li>
<li><a href="https://github.com/cosmos/ibc-go/commit/1313dc9a0d6e52bf254e3f1890324004ebdd3edf"><code>1313dc9</code></a> Update CLI to recover expired client for SDK 46 updates to gov module (backpo...</li>
<li><a href="https://github.com/cosmos/ibc-go/commit/e0e157d8d37711b201c5780f687e29f596ae6fa7"><code>e0e157d</code></a> docs: updating v3-&gt;v4 migration docs with fee middleware (<a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/2127">#2127</a>) (<a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/2390">#2390</a>)</li>
<li><a href="https://github.com/cosmos/ibc-go/commit/64269cc2e79ee586fbbb1db4720b6df06213172e"><code>64269cc</code></a> docs: migration docs v4 to v5 (<a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/1826">#1826</a>) (<a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/2385">#2385</a>)</li>
<li><a href="https://github.com/cosmos/ibc-go/commit/259522d803a83c66b5ab395112f5d142955658b2"><code>259522d</code></a> docs: include ics4Wrapper in <code>hostkeeper.NewKeeper</code> ics27 integration docs  (...</li>
<li><a href="https://github.com/cosmos/ibc-go/commit/b6921cd552859edf95254632b0a1449d1798f7c5"><code>b6921cd</code></a> fix: ica handshake reopening channel - use <code>GetAppVersion</code> in favour of `chan...</li>
<li><a href="https://github.com/cosmos/ibc-go/commit/e4ff2c663a06de232ce19f6fc0c34c3cfb9c1af5"><code>e4ff2c6</code></a> Add scoped keeper interface for interchain app (backport <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/2035">#2035</a>) (<a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/2361">#2361</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/cosmos/ibc-go/compare/v5.0.0-rc2...v5.0.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/cosmos/ibc-go/v5&package-manager=go_modules&previous-version=5.0.0-rc2&new-version=5.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

* refactor: Cleaned up float->dec conversions (#1431)

* Cleaned up float->dec conversions

* Update CHANGELOG.md

* fix updating wrong changelog

* Update CHANGELOG.md

* Fix CHANGELOG.md

* Order imports

Co-authored-by: Adam Wozniak <29418299+adamewozniak@users.noreply.github.com>
Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* chore: improve cache build (#1461)

## Description

closes: #1308 

This pull request contains changes related improve cache of build-binary  github workflows , now github jobs will use cached binaries for testing the chain.

---

### Author Checklist

_All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues._

I have...

- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] added appropriate labels to the PR
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/umee-network/umee/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

_All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items._

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)

* refactor: Remove unnecessary instances of keepReconnecting (#1442)

* Remove unnecessary instances of keepReconnecting

* Log error in reconnect instead of returning error

* Remove unused ping method

* Remove redundant error check

* Restore ping in Kraken provider

* Update CHANGELOG.md

Co-authored-by: Adam Wozniak <29418299+adamewozniak@users.noreply.github.com>

* refactor: Remove unnecessary instances of keepReconnecting (#1442)

* Remove unnecessary instances of keepReconnecting

* Log error in reconnect instead of returning error

* Remove unused ping method

* Remove redundant error check

* Restore ping in Kraken provider

* Update CHANGELOG.md

Co-authored-by: Adam Wozniak <29418299+adamewozniak@users.noreply.github.com>
(cherry picked from commit 77fa5a6)

# Conflicts:
#	price-feeder/CHANGELOG.md

* ci: Disable upgrade ci (#1464)

* commented upgrade CI since it is not needed anymore, v3 is there o/

* removed ci upgrade test

* Revert "Merge branch 'main' into mergify/bp/release/price-feeder/v1.x.x/pr-1442"

This reverts commit dbc5f6c, reversing
changes made to 17faad1.

* Resolve conflict

Co-authored-by: Adam Wozniak <29418299+adamewozniak@users.noreply.github.com>
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Rafael Tenfen <rafaeltenfen.rt@gmail.com>
Co-authored-by: toteki <63419657+toteki@users.noreply.github.com>
Co-authored-by: Sai Kumar <17549398+gsk967@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ryanbajollari <54822716+rbajollari@users.noreply.github.com>
Co-authored-by: rbajollari <rbajollari@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:Automerge C:x/oracle T:Bug A regression or bug in the Umee codebase.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants