Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): Bump github.com/cosmos/ibc-go/v7 from 7.4.0 to 7.5.0 (#3109
) Bumps [github.com/cosmos/ibc-go/v7](https://github.com/cosmos/ibc-go) from 7.4.0 to 7.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/cosmos/ibc-go/releases">github.com/cosmos/ibc-go/v7's releases</a>.</em></p> <blockquote> <h2>v7.5.0</h2> <p>We present here a summary of the most relevant changes, please see the <a href="https://github.com/cosmos/ibc-go/blob/v7.5.0/CHANGELOG.md">v7.5.0 changelog</a> for the full set of changes included in this release. Check out also the <a href="https://www.ibcprotocol.dev/blog/conditional-clients-icaqueries">release announcement blog post</a> for more information.</p> <h3>dependencies</h3> <ul> <li>Cosmos SDK has been bumped to <a href="https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.8">v0.47.11</a>.</li> <li>CometBFT has been bumped to <a href="https://github.com/cometbft/cometbft/releases/tag/v0.37.5">v0.37.5</a>.</li> </ul> <h3>apps/transfer</h3> <ul> <li>In v8.1.0 the field <a href="https://github.com/cosmos/ibc-go/blob/v7.5.0/proto/ibc/applications/transfer/v1/authz.proto#L24"><code>allowed_packet_data</code> was added to the <code>Allocation</code> type</a> used for authz support of IBC transfers. This field was originally a list of <a href="https://github.com/cosmos/ibc-go/blob/v7.5.0/proto/ibc/applications/transfer/v1/tx.proto#L51"><code>MsgTransfer</code>'s <code>memo</code></a> packet data keys that were allowed (i.e. top level JSON object keys). After receiving some feedback (thanks to Yieldmos team), we have re-purposed this field to be a list of full memo strings. That means that this field contains a list of memo strings that that the granter allows the grantee to include in the <code>memo</code> field of <code>MsgTransfer</code>, the grantee can then submit <code>MsgTransfer</code> with one of the allowed memo strings. See the <a href="https://ibc.cosmos.network/main/apps/transfer/authorizations">documentation</a> for more information.</li> <li>In <code>OnChanOpenTry</code>, when the counterparty version does not match the executing chain's own version, instead of returning an error, the <a href="https://github.com/cosmos/ibc-go/blob/v7.5.0/modules/apps/transfer/ibc_module.go#L123">current version is now returned</a>. This allows the channel handshake to complete in situations where the handshake initiating chain has the fee middleware wired up, but the counterparty doesn't (then transfer channel will be created with a version that does not contain fee middleware information). Similar change has been applied to <code>OnChanOpenTry</code> of the host submodule in 27-interchain-accounts. See PR <a href="https://redirect.github.com/cosmos/ibc-go/pull/6253">cosmos/ibc-go#6253</a> for more details.</li> </ul> <h3>apps/27-interchain-accounts</h3> <p><strong>Unordered channels</strong></p> <p>When ICA was initially released in <a href="https://github.com/cosmos/ibc-go/releases/tag/v3.0.0">v3.0.0</a> ICA channels were only allowed to be ordered, which causes the channel to close if a timeout occurs, forcing the user to reopen it. Support for unordered channels was introduced in <a href="https://github.com/cosmos/ibc-go/releases/tag/v8.1.0">v8.1.0</a>, and with this release we have now back ported the feature to the v7 release line.</p> <p>We have also changed the default ordering of new ICA channels from ordered to unordered. This means that new ICA channels will be unordered by default. Ordering can be specified either by setting the field <a href="https://github.com/cosmos/ibc-go/blob/v7.5.0/proto/ibc/applications/interchain_accounts/controller/v1/tx.proto#L27"><code>ordering</code> of <code>MsgRegisterInterchainAccount</code></a> or using the newly introduced <a href="https://github.com/cosmos/ibc-go/blob/v7.5.0/modules/apps/27-interchain-accounts/controller/keeper/account.go#L66">function <code>RegisterInterchainAccountWithOrdering</code></a> (in case the legacy <code>RegisterInterchainAccount</code> function is used by a custom auth module).</p> <p><strong>Queries</strong></p> <p>We have added the message <a href="https://github.com/cosmos/ibc-go/blob/v7.5.0/proto/ibc/applications/interchain_accounts/host/v1/tx.proto#L19-L30"><code>MsgModuleQuerySafe</code></a>, which enables to perform queries on the host chain. This message contains a list of <code>QueryRequest</code>s that will be <a href="https://github.com/cosmos/ibc-go/blob/v7.5.0/modules/apps/27-interchain-accounts/host/keeper/msg_server.go#L51">routed to the query router</a> when the message <code>MsgModuleQuerySafe</code> is executed on the host chain. The <code>MsgModuleQuerySafe</code> message can be included in the list of encoded <code>sdk.Msg</code>s of <code>InterchainPacketData</code>. The host chain will return on the acknowledgment the responses for all the queries (in the same order as the query requests in the <code>Requests</code> field of the <code>MsgModuleQuerySafe</code>).</p> <p>Please note that only module safe queries can be executed (i.e. <a href="https://docs.cosmos.network/main/build/building-modules/query-services#calling-queries-from-the-state-machine">deterministic queries that are safe to be called from within the state machine</a>). See the documentation for more details and the list of supported queries.</p> <p>Please also note that it is <strong>mandatory</strong> <a href="https://github.com/cosmos/ibc-go/blob/v7.5.0/testing/simapp/app.go#L435">to register the gRPC query router after the creation of the host submodule's keeper</a>, otherwise nodes will not start. The <a href="https://github.com/cosmos/ibc-go/blob/v7.5.0/modules/apps/27-interchain-accounts/host/keeper/keeper.go#L94"><code>WithQueryRouter</code> function</a> should be used. Please check the sample integration code in the documentation for more details.</p> <p>This feature will also be included in the upcoming v8.3.0 release.</p> <h3>apps/29-fee</h3> <ul> <li>We have fixed a bug where, upon channel closure, already refunded fees remained in state in the event of one or more of the packet fees attached to a packet not being refunded. See PR <a href="https://redirect.github.com/cosmos/ibc-go/pull/6255">cosmos/ibc-go#6255</a> for more details. Many thanks to <a href="https://github.com/sushiwushi"><code>@sushiwushi</code></a> for reporting this bug.</li> </ul> <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.47.11 and ibc-go v7.5.0, please follow:</p> <ol> <li>The <a href="https://github.com/cosmos/ibc-go/tree/main/docs/docs/05-migrations/02-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/tree/main/docs/docs/05-migrations/03-v1-to-v2.md">migration from ibc-go v1 to v2</a>.</li> <li>The <a href="https://github.com/cosmos/ibc-go/tree/main/docs/docs/05-migrations/04-v2-to-v3.md">migration from ibc-go v2 to v3</a>.</li> <li>The <a href="https://github.com/cosmos/ibc-go/tree/main/docs/docs/05-migrations/05-v3-to-v4.md">migration from ibc-go v3 to v4</a>.</li> <li>The <a href="https://github.com/cosmos/ibc-go/tree/main/docs/docs/05-migrations/06-v4-to-v5.md">migration from ibc-go v4 to v5</a>.</li> <li>The <a href="https://github.com/cosmos/ibc-go/tree/main/docs/docs/05-migrations/07-v5-to-v6.md">migration from ibc-go v5 to v6</a>.</li> <li>The <a href="https://github.com/cosmos/ibc-go/tree/main/docs/docs/05-migrations/08-v6-to-v7.md">migration from ibc-go v6 to v7</a>.</li> <li>The <a href="https://github.com/cosmos/ibc-go/tree/main/docs/docs/05-migrations/09-v7-to-v7_1.md">migration from ibc-go v7 to v7.1</a>.</li> <li>The <a href="https://github.com/cosmos/ibc-go/tree/main/docs/docs/05-migrations/10-v7_2-to-v7_3.md">migration from ibc-go v7.2 to v7.3</a>.</li> </ol> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/cosmos/ibc-go/blob/main/CHANGELOG.md">github.com/cosmos/ibc-go/v7's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/cosmos/ibc-go/releases/tag/v7.5.0">v7.5.0</a> - 2024-05-14</h2> <h3>Dependencies</h3> <ul> <li><a href="https://redirect.github.com/cosmos/ibc-go/pull/6254">#6254</a> Update Cosmos SDK to v0.47.11 and CometBFT to v0.37.5.</li> </ul> <h3>State Machine Breaking</h3> <ul> <li>(light-clients/07-tendermint) <a href="https://redirect.github.com/cosmos/ibc-go/pull/6276">#6276</a> Fix: No-op to avoid panicking on <code>UpdateState</code> for invalid misbehaviour submissions.</li> </ul> <h3>Improvements</h3> <ul> <li>(apps/27-interchain-accounts) <a href="https://redirect.github.com/cosmos/ibc-go/pull/6147">#6147</a> Emit an event signalling that the host submodule is disabled.</li> <li>(testing) <a href="https://redirect.github.com/cosmos/ibc-go/pull/6180">#6180</a> Add version to tm abci headers in ibctesting.</li> <li>(apps/27-interchain-accounts, apps/tranfer, apps/29-fee) <a href="https://redirect.github.com/cosmos/ibc-go/pull/6253">#6253</a> Allow channel handshake to succeed if fee middleware is wired up on one side, but not the other.</li> <li>(apps/transfer) <a href="https://redirect.github.com/cosmos/ibc-go/pull/6268">#6268</a> Use memo strings instead of JSON keys in <code>AllowedPacketData</code> of transfer authorization.</li> </ul> <h3>Features</h3> <ul> <li>(apps/27-interchain-accounts) <a href="https://redirect.github.com/cosmos/ibc-go/pull/5633">#5633</a> Allow new ICA channels to use unordered ordering.</li> <li>(apps/27-interchain-accounts) <a href="https://redirect.github.com/cosmos/ibc-go/pull/5785">#5785</a> Introduce a new tx message that ICA host submodule can use to query the chain (only those marked with <code>module_query_safe</code>) and write the responses to the acknowledgement.</li> </ul> <h3>Bug Fixes</h3> <ul> <li>(apps/29-fee) <a href="https://redirect.github.com/cosmos/ibc-go/pull/6255">#6255</a> Delete already refunded fees from state if some fee(s) cannot be refunded on channel closure.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/cosmos/ibc-go/commit/3a5f6d431eae174f27ded7e357b3b7c23b57d0c3"><code>3a5f6d4</code></a> update changelog before v7.5.0 release</li> <li><a href="https://github.com/cosmos/ibc-go/commit/eff9b353bb1147e87631c9140663e193f4c4c72c"><code>eff9b35</code></a> Update CHANGELOG.md</li> <li><a href="https://github.com/cosmos/ibc-go/commit/a98ebcafea32d43e74a48d164c2e012581e8d619"><code>a98ebca</code></a> imp: allow memo strings instead of keys for transfer authorizations (backport...</li> <li><a href="https://github.com/cosmos/ibc-go/commit/1c05fa7dbd86a0c711bdd6575f0abbbc331d0600"><code>1c05fa7</code></a> fix: noop on UpdateState for invalid misbehaviour (backport <a href="https://redirect.github.com/cosmos/ibc-go/issues/6276">#6276</a>) (<a href="https://redirect.github.com/cosmos/ibc-go/issues/6296">#6296</a>)</li> <li><a href="https://github.com/cosmos/ibc-go/commit/2e7e3eab27ff3bc8cf221d5f723d540a6c4dcfa9"><code>2e7e3ea</code></a> workaround for bank module safe queries (<a href="https://redirect.github.com/cosmos/ibc-go/issues/6286">#6286</a>)</li> <li><a href="https://github.com/cosmos/ibc-go/commit/a4ecd559410c24320688ff160eb76ed8b4916a6d"><code>a4ecd55</code></a> fix: delete already refunded fees from state if some fee cannot be refunded o...</li> <li><a href="https://github.com/cosmos/ibc-go/commit/50a88fa67ae62d08c87be0890d575ef5a0b16f77"><code>50a88fa</code></a> feat(release/v7.5.x): use unordered ordering by default for new ica channels ...</li> <li><a href="https://github.com/cosmos/ibc-go/commit/3ef2a978d05d78c53b76592c11bb1719d3cb59b1"><code>3ef2a97</code></a> imp(apps): allow one sided fee middleware handshakes to complete (backport <a href="https://redirect.github.com/cosmos/ibc-go/issues/6">#6</a>...</li> <li><a href="https://github.com/cosmos/ibc-go/commit/fea2507eaf9d3bda42111f4b1bed43e760c55877"><code>fea2507</code></a> deps: bump sdk v0.47.11 (<a href="https://redirect.github.com/cosmos/ibc-go/issues/6254">#6254</a>)</li> <li><a href="https://github.com/cosmos/ibc-go/commit/29dd2f3383bf51176dc78128d2498dc235388bc8"><code>29dd2f3</code></a> imp: add version to tm headers in ibctesting (release/v7.5.x) (<a href="https://redirect.github.com/cosmos/ibc-go/issues/6180">#6180</a>)</li> <li>Additional commits viewable in <a href="https://github.com/cosmos/ibc-go/compare/v7.4.0...v7.5.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/v7&package-manager=go_modules&previous-version=7.4.0&new-version=7.5.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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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>
- Loading branch information