Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): Bump github.com/cosmos/ibc-go/v2 from 2.2.0 to 2.3.0 (ba…
…ckport #1020) (#1021) * build(deps): Bump github.com/cosmos/ibc-go/v2 from 2.2.0 to 2.3.0 (#1020) Bumps [github.com/cosmos/ibc-go/v2](https://github.com/cosmos/ibc-go) from 2.2.0 to 2.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/cosmos/ibc-go/releases">github.com/cosmos/ibc-go/v2's releases</a>.</em></p> <blockquote> <h2>v2.3.0</h2> <p>Please note that, according to <a href="https://github.com/cosmos/ibc-go/blob/main/RELEASES.md">ibc-go's semantic versioning</a>, <strong>this release requires a coordinated upgrade</strong> because it <strong>contains state-machine breaking changes</strong>. This release requires also running a <a href="https://github.com/cosmos/ibc-go/blob/main/docs/migrations/support-denoms-with-slashes.md">migration</a>.</p> <p>This release bumps the Go version to v1.17 and the Cosmos SDK to v0.45.4 (for more information, see <a href="https://github.com/cosmos/cosmos-sdk/releases/tag/v0.45.4">Cosmos SDK v0.45.4 Release Notes</a>), and introduces several improvements and bug fixes. We present here a summary of the most relevant changes, but please see the <a href="https://github.com/cosmos/ibc-go/blob/v2.3.0/CHANGELOG.md">v2.3.0 changelog</a> for the full set of changes included in this release.</p> <h3>core/02-client</h3> <ul> <li>A <a href="https://github.com/cosmos/ibc-go/blob/v2.3.0/modules/core/02-client/keeper/grpc_query.go#L192">gRPC query method</a> and <a href="https://github.com/cosmos/ibc-go/blob/v2.3.0/modules/core/02-client/client/cli/query.go#L169">CLI query</a> has been added to retrieve the heights of all consensus states associated with the a given client ID.</li> </ul> <h3>core/04-channel</h3> <ul> <li>A <a href="https://github.com/cosmos/ibc-go/blob/v2.3.0/modules/core/04-channel/keeper/timeout.go#L173">channel closed event is now emitted</a> when a timeout occurs for an ordered channel.</li> </ul> <h3>apps/transfer</h3> <ul> <li>The <a href="https://github.com/cosmos/ibc-go/blob/v2.3.0/modules/apps/transfer/keeper/grpc_query.go#L21"><code>DenomTrace</code> gRPC method</a> and <a href="https://github.com/cosmos/ibc-go/blob/v2.3.0/modules/apps/transfer/client/cli/query.go#L15">CLI query</a> can now take as argument either a trace hash or a full IBC denom prefixed with <code>ibc/</code>.</li> <li>The sender address is now added in the event emitted in the <a href="https://github.com/cosmos/ibc-go/blob/v2.3.0/modules/apps/transfer/module.go#L348"><code>OnRecvPacket</code></a> and <a href="https://github.com/cosmos/ibc-go/blob/v2.3.0/modules/apps/transfer/module.go#L384"><code>OnAcknowledgementPacket</code></a> callbacks.</li> <li>A <a href="https://github.com/cosmos/ibc-go/blob/v2.3.0/modules/apps/transfer/keeper/grpc_query.go#L115">gRPC query method</a> has been added to retrieve the escrow address for a particular channel.</li> <li>Support for token transfers of coins whose base denomination contains slashes has been added. For the transfer of coins whose base denomination contains slashes to succeed, both the sending and the receiving chains need to upgrade to add this support. Please follow also the <a href="https://github.com/cosmos/ibc-go/blob/main/docs/migrations/support-denoms-with-slashes.md">migration guide</a>.</li> </ul> <h3>light-clients/07-tendermint</h3> <ul> <li>The use of <a href="https://github.com/cosmos/ibc-go/blob/v2.3.0/proto/ibc/lightclients/tendermint/v1/tendermint.proto#L56"><code>allow_update_after_expiry</code></a> and <a href="https://github.com/cosmos/ibc-go/blob/v2.3.0/proto/ibc/lightclients/tendermint/v1/tendermint.proto#L58"><code>allow_update_after_misbehaviour </code></a> has been deprecated. See <a href="https://github.com/cosmos/ibc-go/blob/v2.3.0/docs/architecture/adr-026-ibc-client-recovery-mechanisms.md#decision">ADR-26</a> for more information.</li> </ul> <p>Special thanks to our external contributors on this release: <a href="https://github.com/catShaark"><code>@catShaark</code></a> <a href="https://github.com/fedekunze"><code>@fedekunze</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.45.4 and ibc-go v2.3.0, please follow:</p> <ol> <li>The <a href="https://github.com/cosmos/ibc-go/blob/main/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/main/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/main/docs/migrations/support-denoms-with-slashes.md">migration to add support for transfers of tokens whose base denomination contains slashes</a>.</li> </ol> <h2>v2.2.1</h2> <p>This release introduces some improvements and bug fixes. We present here the most relevant changes, but please see the <a href="https://github.com/cosmos/ibc-go/blob/v2.2.1/CHANGELOG.md">v2.2.1 changelog</a> for the full set of changes included in this release.</p> <h3>core/04-channel</h3> <ul> <li>A <a href="https://github.com/cosmos/ibc-go/blob/v2.2.1/modules/core/04-channel/keeper/timeout.go#L173">channel closed event is now emitted</a> when a timeout occurs for an ordered channel.</li> </ul> <h3>apps/transfer</h3> <ul> <li>The <a href="https://github.com/cosmos/ibc-go/blob/v2.2.1/modules/apps/transfer/keeper/grpc_query.go#L21"><code>DenomTrace</code> gRPC method</a> and <a href="https://github.com/cosmos/ibc-go/blob/v2.2.1/modules/apps/transfer/client/cli/query.go#L15">CLI query</a> can now take as argument either a trace hash or a full IBC denom prefixed with <code>ibc/</code>.</li> <li>The sender address is now added in the event emitted in the <a href="https://github.com/cosmos/ibc-go/blob/v2.2.1/modules/apps/transfer/module.go#L348"><code>OnRecvPacket</code></a> and <a href="https://github.com/cosmos/ibc-go/blob/v2.2.1/modules/apps/transfer/module.go#L384"><code>OnAcknowledgementPacket</code></a> callbacks.</li> </ul> <p>Special thanks to our external contributors on this release: <a href="https://github.com/catShaark"><code>@catShaark</code></a> <a href="https://github.com/fedekunze"><code>@fedekunze</code></a></p> <hr /> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/cosmos/ibc-go/blob/v2.3.0/CHANGELOG.md">github.com/cosmos/ibc-go/v2's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/cosmos/ibc-go/releases/tag/v2.3.0">v2.3.0</a> - 2022-04-16</h2> <h3>Dependencies</h3> <ul> <li><a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/404">#404</a> Bump Go version to 1.17</li> <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>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 -> string</code> performance in <code>Logger</code>.</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> <li>(modules/light-clients/07-tendermint) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1118">#1118</a> Deprecating <code>AllowUpdateAfterExpiry</code> and <code>AllowUpdateAfterMisbehaviour</code>. See ADR-026 for context.</li> </ul> <h3>Features</h3> <ul> <li>(modules/core/02-client) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1336">#1336</a> Adding Query/ConsensusStateHeights gRPC for fetching the height of every consensus state associated with a client.</li> <li>(modules/apps/transfer) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1416">#1416</a> Adding gRPC endpoint for getting an escrow account for a given port-id and channel-id.</li> </ul> <h3>Bug Fixes</h3> <ul> <li>(modules/core/04-channel) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1130">#1130</a> Call <code>packet.GetSequence()</code> rather than passing func in <code>WriteAcknowledgement</code> log output</li> <li>(apps/transfer) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1451">#1451</a> Fixing the support for base denoms that contain slashes.</li> </ul> <h2><a href="https://github.com/cosmos/ibc-go/releases/tag/v2.2.1">v2.2.1</a> - 2022-04-16</h2> <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 -> string</code> performance in <code>Logger</code>.</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> <h3>Bug Fixes</h3> <ul> <li>(modules/core/04-channel) <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/pull/1130">#1130</a> Call <code>packet.GetSequence()</code> rather than passing func in <code>WriteAcknowledgement</code> log output</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/cosmos/ibc-go/commit/f808f8a743bee53c24948959c51dca661d61ae0f"><code>f808f8a</code></a> Update CHANGELOG.md</li> <li><a href="https://github.com/cosmos/ibc-go/commit/6673fca8d1aaad15787dbdfea0e438dc00e14c38"><code>6673fca</code></a> Update CHANGELOG.md</li> <li><a href="https://github.com/cosmos/ibc-go/commit/ac556d0c1a856406f414ddb4a551d06de55c9a47"><code>ac556d0</code></a> Update CHANGELOG.md</li> <li><a href="https://github.com/cosmos/ibc-go/commit/230626d9779a6685c7271aa612e0c61a860c9961"><code>230626d</code></a> fix to correctly parse denoms with slashes in the base denom (backport <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/1451">#1451</a>)...</li> <li><a href="https://github.com/cosmos/ibc-go/commit/6496c803527ffb5cbe464e2c714d199396eab5f6"><code>6496c80</code></a> fix: deprecate AllowUpdateAfter...check (backport <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/1511">#1511</a>) (<a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/1520">#1520</a>)</li> <li><a href="https://github.com/cosmos/ibc-go/commit/ae680c106bc5a6239e2903f7aa2d7360885cf138"><code>ae680c1</code></a> chore: Add consensus state heights query (backport <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/1336">#1336</a>) (<a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/1506">#1506</a>)</li> <li><a href="https://github.com/cosmos/ibc-go/commit/d7989f154bb5e1fa636975365f73252c7eb28927"><code>d7989f1</code></a> chore: improve DenomTrace grpc (backport <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/1342">#1342</a>) (<a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/1502">#1502</a>)</li> <li><a href="https://github.com/cosmos/ibc-go/commit/f10135d5984186a7132bfee6f3ffad45146168e2"><code>f10135d</code></a> backport <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/1416">#1416</a> to v2.3.x (<a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/1495">#1495</a>)</li> <li><a href="https://github.com/cosmos/ibc-go/commit/7374d3107dada1b02d4ed5fbe5ac0f4f04b187b6"><code>7374d31</code></a> Emit channel close event on ordered channel close (backport <a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/1464">#1464</a>) (<a href="https://github-redirect.dependabot.com/cosmos/ibc-go/issues/1474">#1474</a>)</li> <li><a href="https://github.com/cosmos/ibc-go/commit/d82a65665f0fdfc66384cc4470943b2b89bda29a"><code>d82a656</code></a> add actual parameter example to denom-trace and denom-hash CLI queries (backp...</li> <li>Additional commits viewable in <a href="https://github.com/cosmos/ibc-go/compare/v2.2.0...v2.3.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/v2&package-manager=go_modules&previous-version=2.2.0&new-version=2.3.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> (cherry picked from commit e0bfc44) # Conflicts: # price-feeder/go.sum * make go-mod-tidy Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: toteki <[email protected]>
- Loading branch information