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

chore: bump cosmos-sdk and ibc-go to latest #2053

Merged
merged 3 commits into from
Jul 17, 2024
Merged

Conversation

MSalopek
Copy link
Contributor

@MSalopek MSalopek commented Jul 17, 2024

Bump cosmos-sdk to v0.50.8 and ibc-go to v8.3.2.

Summary by CodeRabbit

  • Dependencies

    • Updated Cosmos SDK to v0.50.8.
    • Updated Cosmos Gogoproto to v1.5.0.
    • Updated IBC-Go to v8.3.2.
  • Docker

    • Upgraded hermes image version from 1.8.0 to 1.10.0 in various Dockerfiles.

@MSalopek MSalopek requested a review from a team as a code owner July 17, 2024 10:40
Copy link
Contributor

coderabbitai bot commented Jul 17, 2024

Walkthrough

Walkthrough

The recent updates primarily involve version bumps for various dependencies, including cosmos-sdk, gogoproto, ibc-go, and CometBFT, along with updates to Dockerfiles to use newer versions of the hermes image. These changes aim to enhance stability, security, and functionality by leveraging improvements in the updated versions.

Changes

Files Change Summary
go.mod Updated versions of cosmos-sdk to v0.50.8, gogoproto to v1.5.0, and ibc-go/v8 to v8.3.2.
.changelog/unreleased/.../2053-bump-*.md Added changelog entries for version bumps of ibc-go, cosmos-sdk, and CometBFT related to pull request #2053.
Dockerfile, Dockerfile.combined Updated hermes image version from v1.8.0 to 1.10.0.
Dockerfile.gaia Updated hermes image version from v1.8.0 to 1.10.0 and base image from fedora:39 to fedora:39.

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?

Share
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 @coderabbitai in 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 @coderabbitai in 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.
    • @coderabbitai help me debug CodeRabbit configuration file.

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 pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file 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.

@MSalopek MSalopek added scope: cosmos-sdk Integration with Cosmos SDK scope: IBC Integration with IBC A:backport/v5.2.x labels Jul 17, 2024
@@ -7,8 +7,8 @@ require (
cosmossdk.io/math v1.3.0
github.com/cometbft/cometbft v0.38.9
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CometBFT v.038.10 just came out as well.

Copy link
Contributor Author

@MSalopek MSalopek Jul 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@insumity After some testing I learned that this bump does not work with cosmos-sdk and ibc-go because they haven't upgraded to use it. Additionally, hermes encounters weird deserialization errors, even on the latest version (v1.10.0). This was discovered during e2e testing.

We cannot bump comet at this point.

@MSalopek MSalopek changed the title chore: bump cosmos-sdk and ibc-go to latest chore: bump cosmos-sdk, cometbft and ibc-go to latest Jul 17, 2024
@github-actions github-actions bot added the C:Build Assigned automatically by the PR labeler label Jul 17, 2024
@MSalopek MSalopek changed the title chore: bump cosmos-sdk, cometbft and ibc-go to latest chore: bump cosmos-sdk and ibc-go to latest Jul 17, 2024
@MSalopek MSalopek enabled auto-merge July 17, 2024 19:43
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Outside diff range, codebase verification and nitpick comments (3)
Dockerfile (1)

Line range hint 1-31: General Dockerfile Review

The Dockerfile is well-structured, and the use of multi-stage builds is appropriate for optimizing build times and minimizing image sizes. However, consider adding comments to complex RUN commands for better maintainability.

+ # Adding comments for clarity
+ # RUN if [ -d "./cosmos-sdk" ]; then go mod edit -replace github.com/cosmos/cosmos-sdk=./cosmos-sdk; fi
+ # RUN go mod tidy

Also applies to: 33-64

Dockerfile.combined (1)

Line range hint 1-26: General Dockerfile Review

The Dockerfile is well-structured, and the use of multi-stage builds is appropriate. Consider adding comments to complex RUN commands for better maintainability.

+ # Adding comments for clarity
+ # RUN if [ -n "${GAIA_TAG}" ]; then git checkout "${GAIA_TAG}"; fi
+ # RUN go mod tidy

Also applies to: 28-64

Dockerfile.gaia (1)

Line range hint 1-63: General Dockerfile Review

The Dockerfile is well-structured, and the use of multi-stage builds is appropriate. Consider adding comments to complex RUN commands for better maintainability.

+ # Adding comments for clarity
+ # RUN git clone https://github.com/cosmos/gaia.git
+ # RUN make build

@MSalopek MSalopek added this pull request to the merge queue Jul 17, 2024
Merged via the queue into main with commit aeab025 Jul 17, 2024
14 of 16 checks passed
@MSalopek MSalopek deleted the chore/bump-sdk-ibc branch July 17, 2024 20:01
mergify bot pushed a commit that referenced this pull request Jul 17, 2024
* chore: bump cosmos-sdk and ibc-go to latest

* chore: update changelogs

* bump hermes in dockerfiles

(cherry picked from commit aeab025)
MSalopek added a commit that referenced this pull request Jul 18, 2024
chore: bump cosmos-sdk and ibc-go to latest (#2053)

* chore: bump cosmos-sdk and ibc-go to latest

* chore: update changelogs

* bump hermes in dockerfiles

(cherry picked from commit aeab025)

Co-authored-by: MSalopek <[email protected]>
insumity pushed a commit that referenced this pull request Jul 23, 2024
* chore: bump cosmos-sdk and ibc-go to latest

* chore: update changelogs

* bump hermes in dockerfiles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:backport/v5.2.x C:Build Assigned automatically by the PR labeler scope: cosmos-sdk Integration with Cosmos SDK scope: IBC Integration with IBC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants