axoned
axoned copied to clipboard
chore(deps): bump github.com/cosmos/ibc-go/v8 from 8.0.0 to 8.3.0
Bumps github.com/cosmos/ibc-go/v8 from 8.0.0 to 8.3.0.
Release notes
Sourced from github.com/cosmos/ibc-go/v8's releases.
v8.3.0
Highlights 🌟
We present here a summary of the most relevant changes, please see the v8.3.0 changelog for the full set of changes included in this release. Check out also the release announcement blog post for more information.
dependencies
core
- Up until now ibc-go assumed that its underlying consensus is Tendermint, but in this release we have added the
ConsensusHostinterface that defines methods to validate an IBC light clientClientStateandConsensusStateagainst the host chain's underlying consensus parameters. This enables chains whose underlying consensus is not Tendermint to still use ibc-go and be able to specify how the client state and consensus state of counterparties' light clients should be verified during the connection handshake. A custom implementation of theConsensusHostinterface can be set in the core IBC keeper using functionSetConsensusHost. By default the consensus host will be set to the implementation for 07-tendermint. See issue cosmos/ibc-go#5315 and PR cosmos/ibc-go#6055 for more details.core/02-client
- We have added the
VerifyMembershipProofquery service gRPC endpoint that queries an IBC light client for proof verification of a value at a given key path. This endpoint specifically enables light clients to query other light clients through gRPC, and streamlines the process of implementing conditional clients, particularly within the 08-wasm module. The method takes aQueryVerifyMembershipRequestwhere the ID of the light client the verification parameters (proof, value, height, etc) are specified. See issue cosmos/ibc-go#5310 and PR cosmos/ibc-go#5821 for more details.apps/transfer
- In v8.1.0 the field
allowed_packet_datawas added to theAllocationtype used for authz support of IBC transfers. This field was originally a list ofMsgTransfer'smemopacket 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 thememofield ofMsgTransfer, the grantee can then submitMsgTransferwith one of the allowed memo strings. See the documentation for more information.- In
OnChanOpenTry, when the counterparty version does not match the executing chain's own version, instead of returning an error, the current version is now returned. 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 toOnChanOpenTryof the host submodule in 27-interchain-accounts. See PR cosmos/ibc-go#6253 for more details.apps/27-interchain-accounts
Unordered channels
Support for unordered channels was introduced in v8.1.0, and with this release we have now 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
orderingofMsgRegisterInterchainAccountor using the newly introduced functionRegisterInterchainAccountWithOrdering(in case the legacyRegisterInterchainAccountfunction is used by a custom auth module).Queries
We have added the message
MsgModuleQuerySafe, which enables to perform queries on the host chain. This message contains a list ofQueryRequests that will be routed to the query router when the messageMsgModuleQuerySafeis executed on the host chain. TheMsgModuleQuerySafemessage can be included in the list of encodedsdk.Msgs ofInterchainPacketData. The host chain will return on the acknowledgment the responses for all the queries (in the same order as the query requests in theRequestsfield of theMsgModuleQuerySafe).Please note that only module safe queries can be executed (i.e. deterministic queries that are safe to be called from within the state machine). See the documentation for more details and the list of supported queries.
Please also note that it is mandatory to register the gRPC query router after the creation of the host submodule's keeper, otherwise nodes will not start. The
WithQueryRouterfunction should be used. Please check the sample integration code in the documentation for more details.apps/29-fee
- 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 cosmos/ibc-go#6255 for more details. Many thanks to
@sushiwushifor reporting this bug.Contributors ❤️
Special thanks to all external contributors that pushed code for this release:
To learn more about ibc-go versioning, please read our RELEASES.md.
... (truncated)
Changelog
Sourced from github.com/cosmos/ibc-go/v8's changelog.
v8.3.0 - 2024-05-16
Dependencies
- #6300 Bump Cosmos SDK to v0.50.6 and CometBFT to v0.38.7.
State Machine Breaking
- (light-clients/07-tendermint) #6276 Fix: No-op to avoid panicking on
UpdateStatefor invalid misbehaviour submissions.Improvements
- (apps/27-interchain-accounts, apps/tranfer, apps/29-fee) #6253 Allow channel handshake to succeed if fee middleware is wired up on one side, but not the other.
- (apps/27-interchain-accounts) #6251 Use
UNORDEREDas the default ordering for new ICA channels.- (apps/transfer) #6268 Use memo strings instead of JSON keys in
AllowedPacketDataof transfer authorization.Features
- (core) #6055 Introduce a new interface
ConsensusHostused to validate an IBCClientStateandConsensusStateagainst the host chain's underlying consensus parameters.- (core/02-client) #5821 Add rpc
VerifyMembershipProof(querier approach for conditional clients).- (core/04-channel) #5788 Add
NewErrorAcknowledgementWithCodespaceto allow codespaces in ack errors.- (apps/27-interchain-accounts) #5785 Introduce a new tx message that ICA host submodule can use to query the chain (only those marked with
module_query_safe) and write the responses to the acknowledgement.Bug Fixes
- (apps/27-interchain-accounts) #6167 Fixed an edge case bug where migrating params for a pre-existing ica module which implemented controller functionality only could panic when migrating params for newly added host, and align controller param migration with host.
- (app/29-fee) #6255 Delete refunded fees from state if some fee(s) cannot be refunded on channel closure.
v8.2.0 - 2024-04-05
Dependencies
- #5975 Bump Cosmos SDK to v0.50.5.
Improvements
- (proto) #5987 Add wasm proto files.
v8.1.0 - 2024-01-31
Dependencies
- #5663 Bump Cosmos SDK to v0.50.3 and CometBFT to v0.38.2.
State Machine Breaking
- (apps/27-interchain-accounts) #5442 Increase the maximum allowed length for the memo field of
InterchainAccountPacketData.Improvements
... (truncated)
Commits
8b708caupdate changelog before v8.3.0 release0b10c11deps: bump cosmos sdk to v0.50.6 and comet bft to v0.38.7 (#6300)41b6a00Update CHANGELOG.md5470cd2imp: allow memo strings instead of keys for transfer authorizations (backport...725fe10fix: noop on UpdateState for invalid misbehaviour (backport #6276) (#6297)0cece8dfix: delete already refunded fees from state if some fee cannot be refunded o...740532dimp(apps): allow one sided fee middleware handshakes to complete (backport #6...3aa76adUpdate CHANGELOG.mdb3d46d7feat(release/v8.3.x): use unordered ordering by default for new ica channels ...0b77b98fix: avoid panic when migrate param for newly added host (backport #6167) (#6...- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
[!IMPORTANT]
Review Skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai reviewcommand.You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Tips
Chat
There are 3 ways to chat with CodeRabbit:
- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
I pushed a fix in commit <commit_id>.Generate unit testing code for this file.Open a follow-up GitHub issue for this discussion.
- Files and specific lines of code (under the "Files changed" tab): Tag
@coderabbitaiin a new review comment at the desired location with your query. Examples:@coderabbitai generate unit testing code for this file.@coderabbitai modularize this function.
- PR comments: Tag
@coderabbitaiin a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:@coderabbitai generate interesting stats about this repository and render them as a table.@coderabbitai show all the console.log statements in this repository.@coderabbitai read src/utils.ts and generate unit testing code.@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.
CodeRabbit Commands (invoked as PR comments)
@coderabbitai pauseto pause the reviews on a PR.@coderabbitai resumeto resume the paused reviews.@coderabbitai reviewto trigger a review. This is useful when automatic reviews are disabled for the repository.@coderabbitai resolveresolve all the CodeRabbit review comments.@coderabbitai helpto get help.
Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
CodeRabbit Configration File (.coderabbit.yaml)
- You can programmatically configure CodeRabbit by adding a
.coderabbit.yamlfile to the root of your repository. - Please see the configuration documentation for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation:
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
Documentation and Community
- Visit our Documentation for detailed information on how to use CodeRabbit.
- Join our Discord Community to get help, request features, and share feedback.
- Follow us on X/Twitter for updates and announcements.
Superseded by #649.