Skip to content

Comments

Upgrade IBC-Hooks to IBC-v10#270

Open
TxCorpi0x wants to merge 3 commits intocosmos:mainfrom
CoreumFoundation:upgrade/hooks-ibc-v10
Open

Upgrade IBC-Hooks to IBC-v10#270
TxCorpi0x wants to merge 3 commits intocosmos:mainfrom
CoreumFoundation:upgrade/hooks-ibc-v10

Conversation

@TxCorpi0x
Copy link

This pull request updates the ibc-hooks module to align with the latest ibc-go v10 API and dependencies. The key changes include updating the Go version and dependencies in the go.mod file, removing the Capability parameter from various hooks, and updating import paths to use ibc-go/v10.

Dependency Updates:

  • Updated Go version to 1.23.8 and upgraded multiple dependencies in modules/ibc-hooks/go.mod, including cosmossdk.io packages, github.com/cosmos/ibc-go (from v8 to v10), and other libraries.

API Changes:

  • Removed Capability parameter from multiple hooks such as OnChanOpenInit, OnChanOpenTry, SendPacket, and WriteAcknowledgement in modules/ibc-hooks/hooks.go and modules/ibc-hooks/ibc_module.go. This simplifies the function signatures. [1] [2] [3]

Import Path Updates:

  • Updated import paths to reflect the migration from ibc-go/v8 to ibc-go/v10 in modules/ibc-hooks/hooks.go and modules/ibc-hooks/ibc_module.go. [1] [2]

These changes modernize the codebase and ensure compatibility with the latest ibc-go version while simplifying the middleware hooks by removing unused parameters.

@github-actions github-actions bot added the ibc-hooks Label for items related to Osmosis' ibc-hooks implementation label Jul 24, 2025
@TxCorpi0x
Copy link
Author

Hi @jtieri, please let us know your thoughts about this, or please assign the responsible person to the reviewers.

* fixed denom extraction

* fixed the native denom

* fixed acknowledgement interface

* fixed interface compatiblity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ibc-hooks Label for items related to Osmosis' ibc-hooks implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants