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

Eichain/v0.46.16 #21333

Closed
Closed

Conversation

starlinklab
Copy link

@starlinklab starlinklab commented Aug 16, 2024

Description

Closes: #XXXX


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • included the correct type prefix in the PR title, you can find examples of the prefixes below:
  • confirmed ! in the type prefix if API or client breaking change
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • reviewed "Files changed" and left comments if necessary
  • included the necessary unit and integration tests
  • added a changelog entry to CHANGELOG.md
  • updated the relevant documentation or specification, including comments for documenting Go code
  • confirmed all CI checks have passed

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

Please see Pull Request Reviewer section in the contributing guide for more information on how to review a pull request.

I have...

  • confirmed the correct type prefix in the PR title
  • confirmed all author checklist items have been addressed
  • reviewed state machine logic, API design and naming, documentation is accurate, tests and test coverage

Summary by CodeRabbit

  • New Features

    • Introduced a new job to notify a Slack channel upon successful release tagging.
    • Added a comprehensive UPGRADING.md guide for developers upgrading to Cosmos SDK v0.46.x.
  • Bug Fixes

    • Updated Go version across multiple workflows for improved performance and security.
  • Documentation

    • Updated the README to reflect the transition to Go 1.19 and modified GoDoc badge URLs.
    • Revised links in RELEASE_PROCESS.md for better accessibility.
    • Updated IAVL library hyperlink in SECURITY.md.
  • Chores

    • Cleaned up .gitignore to include new entries and modified existing ones.
    • Standardized build configuration in the Makefile.

mergify bot and others added 30 commits June 1, 2022 20:38
(cherry picked from commit 5905dd7)

Co-authored-by: Aleksandr Bezobchuk <[email protected]>
) (cosmos#12123)

## Description

Closes: cosmos#12040

---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [x] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)

(cherry picked from commit f71d464)

Co-authored-by: Marie Gauthier <[email protected]>
…mos#12136)

## Description

It seems like we added `--fee-payer` and `--fee-granter` flags to the CLI, but when generating a tx, they are ignored.

ref: cosmos#11880

---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)

(cherry picked from commit 889dfcb)

Co-authored-by: Amaury <[email protected]>
…5.6 (backport cosmos#12146) (cosmos#12148)

* build(deps): Bump github.com/tendermint/tendermint from 0.35.5 to 0.35.6 (cosmos#12146)

Bumps [github.com/tendermint/tendermint](https://github.com/tendermint/tendermint) from 0.35.5 to 0.35.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tendermint/tendermint/releases">github.com/tendermint/tendermint's releases</a>.</em></p>
<blockquote>
<h2>0.35.6 (WARNING: BETA SOFTWARE)</h2>
<p><a href="https://github.com/tendermint/tendermint/blob/v0.35.6/CHANGELOG.md#v0.35.6">https://github.com/tendermint/tendermint/blob/v0.35.6/CHANGELOG.md#v0.35.6</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/tendermint/tendermint/blob/v0.35.6/CHANGELOG.md">github.com/tendermint/tendermint's changelog</a>.</em></p>
<blockquote>
<h2>v0.35.6</h2>
<p>June 3, 2022</p>
<h3>FEATURES</h3>
<ul>
<li>[migrate] <a href="https://github-redirect.dependabot.com/tendermint/tendermint/pull/8672">#8672</a> provide function for database production (backport <a href="https://github-redirect.dependabot.com/tendermint/tendermint/issues/8614">#8614</a>) (<a href="https://github.com/tychoish"><code>@​tychoish</code></a>)</li>
</ul>
<h3>BUG FIXES</h3>
<ul>
<li>[consensus] <a href="https://github-redirect.dependabot.com/tendermint/tendermint/pull/8651">#8651</a> restructure peer catchup sleep (<a href="https://github.com/tychoish"><code>@​tychoish</code></a>)</li>
<li>[pex] <a href="https://github-redirect.dependabot.com/tendermint/tendermint/pull/8657">#8657</a> align max address thresholds (<a href="https://github.com/cmwaters"><code>@​cmwaters</code></a>)</li>
<li>[cmd] <a href="https://github-redirect.dependabot.com/tendermint/tendermint/pull/8668">#8668</a> don't used global config for reset commands (<a href="https://github.com/cmwaters"><code>@​cmwaters</code></a>)</li>
<li>[p2p] <a href="https://github-redirect.dependabot.com/tendermint/tendermint/pull/8681">#8681</a> shed peers from store from other networks (backport <a href="https://github-redirect.dependabot.com/tendermint/tendermint/issues/8678">#8678</a>) (<a href="https://github.com/tychoish"><code>@​tychoish</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/tendermint/tendermint/commit/3079eb8b30002496482bcd8aed7ab236542aecd2"><code>3079eb8</code></a> Prepare Release v0.35.6 (<a href="https://github-redirect.dependabot.com/tendermint/tendermint/issues/8685">#8685</a>)</li>
<li><a href="https://github.com/tendermint/tendermint/commit/0e3a3fe58bbfc0bd137eda3f82d5af8f81d4f3d0"><code>0e3a3fe</code></a> p2p: shed peers from store from other networks (backport <a href="https://github-redirect.dependabot.com/tendermint/tendermint/issues/8678">#8678</a>) (<a href="https://github-redirect.dependabot.com/tendermint/tendermint/issues/8681">#8681</a>)</li>
<li><a href="https://github.com/tendermint/tendermint/commit/e17e6b1aaa63ecf9f71e23aa89bed1cb2d813554"><code>e17e6b1</code></a> migrate: provide function for database production (backport <a href="https://github-redirect.dependabot.com/tendermint/tendermint/issues/8614">#8614</a>) (<a href="https://github-redirect.dependabot.com/tendermint/tendermint/issues/8672">#8672</a>)</li>
<li><a href="https://github.com/tendermint/tendermint/commit/0421f8b25e1879ca93f5be6f10e288c02ad20063"><code>0421f8b</code></a> build(deps): Bump google.golang.org/grpc from 1.46.2 to 1.47.0 (<a href="https://github-redirect.dependabot.com/tendermint/tendermint/issues/8666">#8666</a>)</li>
<li><a href="https://github.com/tendermint/tendermint/commit/4faa8b72aadb01c03636c9643f6956299fb2eb0c"><code>4faa8b7</code></a> cmd: don't used global config for reset commands (<a href="https://github-redirect.dependabot.com/tendermint/tendermint/issues/8668">#8668</a>)</li>
<li><a href="https://github.com/tendermint/tendermint/commit/336dc2f2c53d8a805ee35dbac99d1eec3514bda7"><code>336dc2f</code></a> chore: update version (<a href="https://github-redirect.dependabot.com/tendermint/tendermint/issues/8634">#8634</a>)</li>
<li><a href="https://github.com/tendermint/tendermint/commit/e8ac37223fae22eef27c178a25bf2beed28280e0"><code>e8ac372</code></a> pex: align max address thresholds (<a href="https://github-redirect.dependabot.com/tendermint/tendermint/issues/8657">#8657</a>)</li>
<li><a href="https://github.com/tendermint/tendermint/commit/a889f17e5134c9ab738ab2c0b40a6f7f4da77538"><code>a889f17</code></a> consensus: restructure peer catchup sleep (<a href="https://github-redirect.dependabot.com/tendermint/tendermint/issues/8651">#8651</a>)</li>
<li><a href="https://github.com/tendermint/tendermint/commit/2b5a4de4b3877425dea2f53e5470db550ae26ca7"><code>2b5a4de</code></a> docs: add documentation for undocumented p2p metrics (backport <a href="https://github-redirect.dependabot.com/tendermint/tendermint/issues/8640">#8640</a>) (<a href="https://github-redirect.dependabot.com/tendermint/tendermint/issues/8641">#8641</a>)</li>
<li><a href="https://github.com/tendermint/tendermint/commit/a85d9c5163ba4d61063c8979c712bf57611c8f05"><code>a85d9c5</code></a> build(deps): Bump github.com/spf13/viper from 1.11.0 to 1.12.0 (<a href="https://github-redirect.dependabot.com/tendermint/tendermint/issues/8631">#8631</a>)</li>
<li>See full diff in <a href="https://github.com/tendermint/tendermint/compare/v0.35.5...v0.35.6">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/tendermint/tendermint&package-manager=go_modules&previous-version=0.35.5&new-version=0.35.6)](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 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>

(cherry picked from commit 18b94de)

# Conflicts:
#	go.mod
#	go.sum

* fix conflict

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <[email protected]>
…) (cosmos#12209)

* fix: update index of crisis invariant check logs (cosmos#12208)

## Description

the info log messages describing invariant checks use the index to state
progress (eg. `asserting crisis invariants inv=0/15`). this simple change
makes them 1-indexed (eg. `asserting crisis invariants inv=1/15`).

example before:

<img width="374" alt="Screen Shot 2022-06-09 at 12 06 58 PM" src="https://user-images.githubusercontent.com/14897503/172925006-8810706c-0948-4e36-85b8-22813ccc9311.png">

Closes: #XXXX

---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [x] added `!` to the type prefix if API or client breaking change - N/A
- [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [x] provided a link to the relevant issue or specification - N/A
- [x] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules) - N/A
- [x] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing) - N/A
- [x] added a changelog entry to `CHANGELOG.md`
- [x] included comments for [documenting Go code](https://blog.golang.org/godoc) - N/A
- [x] updated the relevant documentation or specification - N/A
- [x] reviewed "Files changed" and left comments if necessary - N/A
- [x] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)

(cherry picked from commit 907df32)

# Conflicts:
#	CHANGELOG.md

* fix conflict

Co-authored-by: Robert Pirtle <[email protected]>
Co-authored-by: Julien Robert <[email protected]>
…12275)

## Description

`ApproxRoot` return incorrect value for large `sdk.Dec` because maxApproxRootIterations is not big enough, I increase it to 300

---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [x] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [x] confirmed `!` in the type prefix if API or client breaking change
- [x] confirmed all author checklist items have been addressed
- [x] reviewed state machine logic
- [x] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [x] manually tested (if applicable)

(cherry picked from commit 6a3d10b)

Co-authored-by: khanh <[email protected]>
* fix: GetTxsEvent pagination (cosmos#12261)

## Description

Closes: cosmos#11538
Also see thread after cosmos#11538 (comment)

---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [x] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)

(cherry picked from commit c68fa3b)

# Conflicts:
#	api/cosmos/orm/query/v1alpha1/query.pulsar.go

* delete file

Co-authored-by: Marie Gauthier <[email protected]>
Co-authored-by: marbar3778 <[email protected]>
@starlinklab starlinklab requested a review from a team as a code owner August 16, 2024 16:41
Copy link
Contributor

coderabbitai bot commented Aug 16, 2024

Walkthrough

This update primarily involves enhancing the Cosmos SDK's build process by upgrading the Go version from 1.18 to 1.19 across multiple workflow files. Additionally, modifications streamline linting configurations, introduce new release notifications, and improve module organization. The changes aim to boost performance and maintainability while ensuring compatibility with the latest libraries and frameworks.

Changes

File(s) Change Summary
.github/workflows/*.yml Updated Go version from 1.18 to 1.19 across various workflow files; added new triggers for linting and a new job for release notifications.
.gitignore Added new entries to ignore specific files and directories, including tools/ and debug_container.dot.
.golangci.yml Modified linters configuration by removing several linters and adding gofumpt as a replacement for gofmt.
.goreleaser.yml Changed changelog.skip from true to false.
Dockerfile Updated base image from 1.18-alpine to 1.19-alpine.
Makefile Removed RocksDB section, standardized build tags, and streamlined linting processes; updated URLs for repository references.
README.md Updated GoDoc badge URL and revised Go version requirement from "Go 1.18+" to "Go 1.19+".
RELEASE_NOTES.md Documented the transition to v0.46.16 and dependency update, replacing tendermint with cometbft.
UPGRADING.md Introduced a new guide for developers focusing on version upgrades and significant API changes.

Possibly related issues

🐇 In fields of green, where the code does bloom,
With Go 1.19, we'll dispel all gloom!
New features and fixes, oh what a delight,
In the cosmos we frolic, our future is bright! 🌟
Let’s leap into changes, swift as a hare—
With each little update, we show that we care! 🥕


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.

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 (8)
UPGRADING.md (5)

32-32: Refine for conciseness and clarity.

Consider rephrasing for brevity and using "these" instead of "this" for better clarity.

- Additionally, new packages have been introduced in order to further split the codebase. Aliases are available for a new API breaking migration, but it is encouraged to migrate to this new packages:
+ Additionally, new packages have been introduced to further split the codebase. Aliases are available for a new API-breaking migration, but it is encouraged to migrate to these new packages:
Tools
LanguageTool

[style] ~32-~32: Consider a shorter alternative to avoid wordiness.
Context: ...ally, new packages have been introduced in order to further split the codebase. Aliases are...

(IN_ORDER_TO_PREMIUM)


[uncategorized] ~32-~32: The determiner “these” seems more likely in this context.
Context: ...ion, but it is encouraged to migrate to this new packages: * errors should replac...

(AI_EN_LECTOR_REPLACEMENT_DETERMINER)


91-91: Correct grammatical errors.

Consider adding "a" and correcting the verb agreement for clarity.

- in favour of each module housing and providing way to modify their parameters. Each module that has parameters that are changable during runtime have an authority,
+ in favour of each module housing and providing a way to modify their parameters. Each module that has parameters that are changeable during runtime has an authority,
Tools
LanguageTool

[uncategorized] ~91-~91: You might be missing the article “a” here.
Context: ...ur of each module housing and providing way to modify their parameters. Each module...

(AI_EN_LECTOR_MISSING_DETERMINER_A)


[uncategorized] ~91-~91: This verb does not appear to agree with the subject. Consider using a different form.
Context: ...eters that are changable during runtime have an authority, the authority can be a mo...

(AI_EN_LECTOR_REPLACEMENT_VERB_AGREEMENT)


92-92: Add missing comma for clarity.

Consider adding a comma for better readability.

- The Param module will be maintained until April 18, 2023. At this point the module will reach end of life and be removed from the Cosmos SDK.
+ The Param module will be maintained until April 18, 2023. At this point, the module will reach end of life and be removed from the Cosmos SDK.
Tools
LanguageTool

[typographical] ~92-~92: It appears that a comma is missing.
Context: ...aintained until April 18, 2023. At this point the module will reach end of life and b...

(DURING_THAT_TIME_COMMA)


104-104: Correct grammatical error.

Ensure the verb form is correct for clarity.

- now does not contains directly the [proto files](https://github.com/cosmos/cosmos-sdk/tree/release/v0.46.x/third_party/proto).
+ now does not contain directly the [proto files](https://github.com/cosmos/cosmos-sdk/tree/release/v0.46.x/third_party/proto).
Tools
LanguageTool

[grammar] ~104-~104: The auxiliary verb ‘do’ requires the base form of the verb.
Context: ...v0.45.3/third_party/proto) now does not contains directly the [proto files](https://gith...

(DID_BASEFORM)


106-106: Refine for conciseness and clarity.

Consider rephrasing for brevity and correcting the phrase "copy paste" to "copy and paste".

- with `buf.build/cosmos/cosmos-sdk` as dependency, in order to avoid having to copy paste these files.
+ with `buf.build/cosmos/cosmos-sdk` as a dependency, to avoid having to copy and paste these files.
Tools
LanguageTool

[style] ~106-~106: Consider a shorter alternative to avoid wordiness.
Context: ...build/cosmos/cosmos-sdk` as dependency, in order to avoid having to copy paste these files....

(IN_ORDER_TO_PREMIUM)


[grammar] ~106-~106: Did you mean “copy and paste”?
Context: ...dependency, in order to avoid having to copy paste these files. The protos can as well be...

(COPY_PASTE)

SECURITY.md (1)

16-16: LGTM! Update the abbreviation.

The hyperlink update reflects the correct repository for the IAVL library. However, the abbreviation "eg." should be corrected to "e.g." to follow standard English usage.

- in for Tendermint and other lower-level libraries (eg. [IAVL](https://github.com/cosmos/iavl)).
+ in for Tendermint and other lower-level libraries (e.g. [IAVL](https://github.com/cosmos/iavl)).
Tools
LanguageTool

[uncategorized] ~16-~16: The abbreviation “e.g.” (= for example) requires two periods.
Context: ...ermint and other lower-level libraries (eg. IAVL)...

(E_G)

Makefile (2)

70-79: Consider the impact of removing RocksDB support.

The conditional checks and warnings for RocksDB support have been removed. Ensure that users who rely on RocksDB are informed and have alternatives.

Consider documenting this change in the release notes to inform users about the removal of RocksDB support.


63-63: Update all Tendermint references in the Makefile to CometBFT.

The following lines in the Makefile still reference the old Tendermint URL and need to be updated to CometBFT:

  • Makefile:export TMVERSION := $(shell go list -m github.com/tendermint/tendermint | sed 's:.* ::')
  • Makefile: -X github.com/tendermint/tendermint/version.TMCoreSemVer=$(TMVERSION)
  • Makefile: $(mockgen_cmd) -package mocks -destination tests/mocks/tendermint_tendermint_libs_log_DB.go github.com/tendermint/tendermint/libs/log Logger

Please update these references to ensure consistency with the new repository location.

Analysis chain

Update Tendermint URL to CometBFT.

The Tendermint URL has been updated to CometBFT, reflecting the new repository location. Ensure that this change is consistent with other references in the codebase.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify all references to Tendermint have been updated to CometBFT.

# Test: Search for the old Tendermint URL. Expect: No occurrences of the old URL.
rg --type makefile 'github.com/tendermint/tendermint'

Length of output: 86


Script:

#!/bin/bash
# Description: Verify all references to Tendermint have been updated to CometBFT.

# Search for the old Tendermint URL in files named Makefile.
rg 'github.com/tendermint/tendermint' --glob '**/Makefile'

Length of output: 390

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between e57a937 and 7799bba.

Files ignored due to path filters (45)
  • api/cosmos/app/v1alpha1/query_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/auth/v1beta1/query_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/authz/v1beta1/query_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/authz/v1beta1/tx_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/bank/v1beta1/query_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/bank/v1beta1/tx_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/base/reflection/v1beta1/reflection_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/base/reflection/v2alpha1/reflection_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/base/tendermint/v1beta1/query_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/crisis/v1beta1/tx_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/distribution/v1beta1/query_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/distribution/v1beta1/tx_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/evidence/v1beta1/query_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/evidence/v1beta1/tx_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/feegrant/v1beta1/query_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/feegrant/v1beta1/tx_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/gov/v1/query_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/gov/v1/tx_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/gov/v1beta1/query_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/gov/v1beta1/tx_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/group/v1/query_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/group/v1/tx_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/mint/v1beta1/query_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/nft/v1beta1/query_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/nft/v1beta1/tx_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/params/v1beta1/query_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/slashing/v1beta1/query_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/slashing/v1beta1/tx_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/staking/v1beta1/query_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/staking/v1beta1/tx_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/tx/v1beta1/service_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/upgrade/v1beta1/query_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/upgrade/v1beta1/tx_grpc.pb.go is excluded by !**/*.pb.go
  • api/cosmos/vesting/v1beta1/tx_grpc.pb.go is excluded by !**/*.pb.go
  • api/go.sum is excluded by !**/*.sum
  • api/tendermint/abci/types_grpc.pb.go is excluded by !**/*.pb.go
  • client/grpc/node/query.pb.go is excluded by !**/*.pb.go
  • client/grpc/node/query.pb.gw.go is excluded by !**/*.pb.gw.go
  • client/grpc/tmservice/query.pb.go is excluded by !**/*.pb.go
  • client/grpc/tmservice/types.pb.go is excluded by !**/*.pb.go
  • client/v2/internal/buf.lock is excluded by !**/*.lock
  • contrib/rosetta/rosetta-ci/data.tar.gz is excluded by !**/*.gz
  • core/go.sum is excluded by !**/*.sum
  • cosmovisor/go.sum is excluded by !**/*.sum
  • docs/core/baseapp_transaction-middleware.png is excluded by !**/*.png
Files selected for processing (17)
  • .github/workflows/codeql-analysis.yml (1 hunks)
  • .github/workflows/cosmovisor-release.yml (1 hunks)
  • .github/workflows/lint.yml (1 hunks)
  • .github/workflows/release.yml (2 hunks)
  • .github/workflows/sims.yml (5 hunks)
  • .github/workflows/test-race.yml (4 hunks)
  • .github/workflows/test.yml (7 hunks)
  • .gitignore (2 hunks)
  • .golangci.yml (3 hunks)
  • .goreleaser.yml (1 hunks)
  • Dockerfile (1 hunks)
  • Makefile (6 hunks)
  • README.md (2 hunks)
  • RELEASE_NOTES.md (1 hunks)
  • RELEASE_PROCESS.md (2 hunks)
  • SECURITY.md (1 hunks)
  • UPGRADING.md (1 hunks)
Files skipped from review due to trivial changes (6)
  • .github/workflows/sims.yml
  • .github/workflows/test.yml
  • .gitignore
  • README.md
  • RELEASE_NOTES.md
  • RELEASE_PROCESS.md
Additional context used
LanguageTool
UPGRADING.md

[style] ~32-~32: Consider a shorter alternative to avoid wordiness.
Context: ...ally, new packages have been introduced in order to further split the codebase. Aliases are...

(IN_ORDER_TO_PREMIUM)


[uncategorized] ~32-~32: The determiner “these” seems more likely in this context.
Context: ...ion, but it is encouraged to migrate to this new packages: * errors should replac...

(AI_EN_LECTOR_REPLACEMENT_DETERMINER)


[uncategorized] ~91-~91: You might be missing the article “a” here.
Context: ...ur of each module housing and providing way to modify their parameters. Each module...

(AI_EN_LECTOR_MISSING_DETERMINER_A)


[uncategorized] ~91-~91: This verb does not appear to agree with the subject. Consider using a different form.
Context: ...eters that are changable during runtime have an authority, the authority can be a mo...

(AI_EN_LECTOR_REPLACEMENT_VERB_AGREEMENT)


[typographical] ~92-~92: It appears that a comma is missing.
Context: ...aintained until April 18, 2023. At this point the module will reach end of life and b...

(DURING_THAT_TIME_COMMA)


[style] ~97-~97: Consider a shorter alternative to avoid wordiness.
Context: ...the new implementation is called v1. In order to submit a proposal with `submit-proposal...

(IN_ORDER_TO_PREMIUM)


[grammar] ~104-~104: The auxiliary verb ‘do’ requires the base form of the verb.
Context: ...v0.45.3/third_party/proto) now does not contains directly the [proto files](https://gith...

(DID_BASEFORM)


[style] ~106-~106: Consider a shorter alternative to avoid wordiness.
Context: ...build/cosmos/cosmos-sdk` as dependency, in order to avoid having to copy paste these files....

(IN_ORDER_TO_PREMIUM)


[grammar] ~106-~106: Did you mean “copy and paste”?
Context: ...dependency, in order to avoid having to copy paste these files. The protos can as well be...

(COPY_PASTE)

SECURITY.md

[uncategorized] ~16-~16: The abbreviation “e.g.” (= for example) requires two periods.
Context: ...ermint and other lower-level libraries (eg. IAVL)...

(E_G)

Additional comments not posted (15)
.goreleaser.yml (1)

27-27: Changelog generation enabled.

Changing changelog.skip from true to false ensures that a changelog is generated during the release process. This is a positive change for tracking and documenting updates.

.github/workflows/lint.yml (4)

4-5: Trigger added for tag pushes.

Adding a trigger for tag pushes (v*) ensures that the linting workflow runs on version tags, which is useful for maintaining code quality during releases.


20-20: Go version updated to 1.19.

Updating the Go version from 1.18 to 1.19 ensures compatibility with the latest features and improvements in the Go language.


21-21: Checkout action updated to actions/checkout@v3.

Switching to actions/checkout@v3 is a standard and updated approach, improving the stability of the workflow.


25-26: Specific version set for golangci-lint.

Specifying version: v1.49.0 for golangci-lint ensures that a known, stable version is used, enhancing the consistency of linting results.

.golangci.yml (2)

14-14: Added gofumpt linter.

The addition of gofumpt helps ensure consistent formatting, which is stricter than gofmt and can improve code readability.


41-43: New rule for nolintlint added.

The rule to enforce no leading spaces in nolint comments helps maintain clean and consistent code annotations.

.github/workflows/cosmovisor-release.yml (1)

16-16: Go version update is appropriate.

The update from Go 1.18 to 1.19 ensures the workflow benefits from the latest improvements and features in Go. Make sure the rest of the codebase is compatible with Go 1.19.

Dockerfile (1)

13-13: Go version update in Dockerfile is appropriate.

Updating the base image to Go 1.19-alpine ensures the Docker environment benefits from the latest Go features and improvements. Verify that the application is fully compatible with Go 1.19.

.github/workflows/release.yml (2)

18-18: Go version update is appropriate.

The update from Go 1.18 to 1.19 ensures the workflow benefits from the latest improvements and features in Go. Ensure the rest of the codebase is compatible with Go 1.19.


28-45: Addition of Slack notification job is a valuable enhancement.

The release-success job improves team communication by notifying the Slack channel upon successful release tagging. Ensure the Slack webhook and channel configurations are correct and secure.

.github/workflows/codeql-analysis.yml (1)

28-28: Verify compatibility with Go 1.19.

The Go version has been updated to 1.19. Ensure that all dependencies and code are compatible with this version to avoid any unexpected issues.

Verification successful

No specific compatibility issues with Go 1.19 found.

The search did not reveal any deprecated or breaking changes specifically related to Go 1.19. Ensure to test the application thoroughly to confirm compatibility.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify compatibility with Go 1.19 by checking for any deprecated or breaking changes in dependencies.

# Test: Search for any deprecated or breaking changes related to Go 1.19 in the codebase.
rg --type go 'deprecated|breaking change' -A 5

Length of output: 16208

.github/workflows/test-race.yml (1)

Line range hint 27-97:
Verify compatibility with Go 1.19 across all workflow steps.

The Go version has been updated to 1.19 in multiple steps. Ensure that all steps, including building and testing, are compatible with this version.

Verification successful

No compatibility issues found with Go 1.19 in the workflow steps.

The update to Go 1.19 in the workflow .github/workflows/test-race.yml does not introduce any compatibility issues based on the current codebase analysis. The deprecated features and breaking changes identified are related to the Cosmos SDK, not the Go version itself. Therefore, the workflow steps should function correctly with Go 1.19.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify compatibility with Go 1.19 across all workflow steps.

# Test: Check for any deprecated or breaking changes related to Go 1.19 in the build and test scripts.
rg --type go 'deprecated|breaking change' -A 5

Length of output: 16208

Makefile (2)

332-342: Enhance linting process with explicit versioning.

The golangci-lint version is now explicitly set to v1.49.0, ensuring consistency across environments. This change is beneficial for maintaining code quality.


347-350: Incorporate gofumpt for consistent formatting.

The inclusion of gofumpt in the format target enhances code consistency and quality. This change aligns with best practices for Go code formatting.

@facundomedica
Copy link
Member

Seems to be a mistake, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.