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

Bump github.com/cosmos/ibc-go/v8 from 8.0.0-beta.1 to 8.0.0 #1709

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 10, 2023

Bumps github.com/cosmos/ibc-go/v8 from 8.0.0-beta.1 to 8.0.0.

Release notes

Sourced from github.com/cosmos/ibc-go/v8's releases.

v8.0.0

This release main additions are:

Cosmos SDK v0.50 upgrade

We have upgraded to Cosmos SDK v0.50.1 and CometBFT v0.38.

Migration of gov proposals from v1beta1 to v1

Governance proposals based on Cosmos SDK version v1beta1 of the x/gov module have been migrated to v1 messages. The proposal ClientUpdateProposal has been deprecated and MsgRecoverClient should be used instead. Likewise, the proposal UpgradeProposal has been deprecated and MsgIBCSoftwareUpgrade should be used instead. Both proposals will be removed in the next major release.

MsgRecoverClient and MsgIBCSoftwareUpgrade will only be allowed to be executed if the signer is the authority designated at the time of instantiating the IBC keeper. So please make sure that the correct authority is provided to the IBC keeper.

Migration of params to be self managed

Params of all modules are now self-managed. Each module has a corresponding MsgUpdateParams message with a field of type Params that can be specified in full to update the module's params.

Legacy params subspaces must still be initialised in app.go in order to successfully migrate from x/params to the new self-contained approach. See this code sample for more information.

For new chains which do not rely on migration of parameters from x/params, an expected interface has been added for each module. This allows chain developers to provide nil as the legacySubspace argument to NewKeeper functions.

Highlights 🌟

Please see the v8.0.0 changelog for the full set of changes included in this release. We present here a summary of other relevant changes included in this release:

dependencies

  • Cosmos SDK has been bumped to v0.50.1.
  • CometBFT has been bumped to v0.38.

apps/transfer

Length validation has been added to the Receiver and Memo fields of MsgTransfer.

We are now using Cosmos SDK x/bank's Metadata to store metadata for IBC vouchers when they are minted for the first time. Cosmos SDK v0.50 introduces the boolean field resolve_denom to QueryAllBalancesRequest and the flag resolve-denom in the query bank balances CLI command. When specified in the balances query, and if there exists metadata for the IBC vouchers in the balance of the account, the denomination displayed for IBC vouchers will not be the regular denomination of the form ibc/<hash>, but a human-readable denomination with full prefix trace path and the token denomination on the source chain.

For example, when using the query bank balances CLI command before the resolve-denom flag was available, the denomination for IBC vouchers displayed like this:

> simd query bank balances cosmos14wajutn6hcph9u8zl6j9c4l5cduwpqwmu3g7nt \
  --node http://localhost:27010
balances:
- amount: "100"
  denom: ibc/27A6394C3F9FF9C9DCF5DFFADF9BB5FE9A37C7E92B006199894CF1824DF9AC7C
- amount: "100000000"
  denom: samoleans
- amount: "99998941"
  denom: stake
pagination:
  next_key: ""
</tr></table> 

... (truncated)

Changelog

Sourced from github.com/cosmos/ibc-go/v8's changelog.

v8.0.0 - 2023-11-10

Dependencies

  • #5038 Bump SDK v0.50.1 and cometBFT v0.38.
  • #4398 Update all modules to go 1.21.

API Breaking

  • (core) #4703 Make PortKeeper field of IBCKeeper a pointer.
  • (core/23-commitment) #4459 Remove Pretty and String custom implementations of MerklePath.
  • #3205 Make event emission functions unexported.
  • (apps/27-interchain-accounts, apps/transfer) #3253 Rename IsBound to HasCapability.
  • (apps/27-interchain-accounts, apps/transfer) #3303 Make HasCapability private.
  • #3303 Add missing/remove unnecessary gogoproto directive.
  • (apps/27-interchain-accounts) #3967 Add encoding type as argument to ICA encoding/decoding functions.
  • (core) #3867 Remove unnecessary event attribute from INIT handshake msgs.
  • (core/04-channel) #3806 Remove unused EventTypeTimeoutPacketOnClose.
  • (testing) #4018 Allow failure expectations when using chain.SendMsgs.

State Machine Breaking

  • (apps/transfer, apps/27-interchain-accounts, app/29-fee) #4992 Set validation for length of string fields.

Improvements

  • #3304 Remove unnecessary defer func statements.
  • (apps/29-fee) #3054 Add page result to ics29-fee queries.
  • (apps/27-interchain-accounts, apps/transfer) #3077 Add debug level logging for the error message which is discarded when generating a failed acknowledgement.
  • (core/03-connection) #3244 Cleanup 03-connection msg validate basic test.
  • (core/02-client) #3514 Add check for the client status in CreateClient.
  • (apps/29-fee) #4100 Adding MetadataFromVersion to 29-fee package types.
  • (apps/29-fee) #4290 Use types.MetadataFromVersion helper function for callback handlers.
  • (core/04-channel) #4155 Adding IsOpen and IsClosed methods to Channel type.
  • (core/03-connection) #4110 Remove Version interface and casting functions from 03-connection.
  • (core) #4835 Use expected interface for legacy params subspace parameter of keeper constructor functions.

Features

  • (capability) #3097 Migrate capability module from Cosmos SDK to ibc-go.
  • (core/02-client) #3640 Migrate client params to be self managed.
  • (core/03-connection) #3650 Migrate connection params to be self managed.
  • (apps/transfer) #3553 Migrate transfer parameters to be self managed (#3553)
  • (apps/27-interchain-accounts) #3520 Migrate ica/controller parameters to be self managed (#3590)
  • (apps/27-interchain-accounts) #3520 Migrate ica/host to params to be self managed.
  • (apps/transfer) #3104 Add metadata for IBC tokens.
  • #4620 Migrate to gov v1 via the additions of MsgRecoverClient and MsgIBCSoftwareUpgrade. The legacy proposal types ClientUpdateProposal and UpgradeProposal have been deprecated and will be removed in the next major release.

Bug Fixes

... (truncated)

Commits
  • 2551dea update changelog for v8.0.0 release
  • 4ee44a0 Bump dependencies (backport #5064) (#5069)
  • e8e22c9 refactor(simapp): re-wire autocli with latest client/v2 changes (backport #48...
  • 6bec542 deps: bump capability to v1.0.0 (#5068)
  • 7634f44 deps: bump SDK v0.50.1 (backport #5038) (#5045)
  • 43454cc chore: fix error formatting of client status check in client recovery (#5039)...
  • c99c438 build(deps): Bump cosmossdk.io/math from 1.1.3-rc.1 to 1.2.0 (backport #5034)...
  • 055628c fix expect pointer error when unmarshalling misbehaviour file (backport #5020...
  • 7b3a136 build(deps): Bump cosmossdk.io/x/tx from 0.11.0 to 0.12.0 (backport #5017) (#...
  • 24a47ae build(deps): Bump cosmossdk.io/store from 1.0.0-rc.0 to 1.0.0 (backport #5009...
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

Bumps [github.com/cosmos/ibc-go/v8](https://github.com/cosmos/ibc-go) from 8.0.0-beta.1 to 8.0.0.
- [Release notes](https://github.com/cosmos/ibc-go/releases)
- [Changelog](https://github.com/cosmos/ibc-go/blob/v8.0.0/CHANGELOG.md)
- [Commits](cosmos/ibc-go@v8.0.0-beta.1...v8.0.0)

---
updated-dependencies:
- dependency-name: github.com/cosmos/ibc-go/v8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from alpe as a code owner November 10, 2023 08:48
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Nov 10, 2023
@alpe alpe requested a review from pinosu November 10, 2023 16:33
@pinosu
Copy link
Contributor

pinosu commented Nov 13, 2023

Included in #1696

@pinosu pinosu closed this Nov 13, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 13, 2023

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/go_modules/github.com/cosmos/ibc-go/v8-8.0.0 branch November 13, 2023 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant