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(deps): Update Go, cometbft, rocksdb dependencies #2047

Merged
merged 14 commits into from
Nov 5, 2024

Conversation

drklee3
Copy link
Member

@drklee3 drklee3 commented Nov 2, 2024

Description

  • cometbft v0.37.9-kava.1 -> v0.37.13-kava.1
  • cometbft-db v0.9.1-kava.2 -> v0.9.5 (upstream)
    • Our modifications are no longer necessary:
      • Upstream updates to rocksdb v9.2.1, our RocksDB version modification v1.8.6 -> v1.8.13 no longer needed
      • Creation of RocksDB directory now handled via opendb module
        • kava/opendb module depends on compatible versions of cometbft-db and grocksdb so it doesn't need to be tagged with a new version
  • goleveldb replaced with informalsystems/goleveldb fork to match cometbft-db
  • Go 1.21 -> 1.22
    • CometBFT requires 1.22+
  • RocksDB v8.10.0 -> v9.3.1 via linxGnu/[email protected]
  • Update other go.mod files, e.g. e2e-ibc

Checklist

  • Changelog has been updated as necessary.

@drklee3 drklee3 changed the title chore(deps): Update dependencies chore(deps): Update Go, cometbft, rocksdb dependencies Nov 2, 2024
go.mod Outdated Show resolved Hide resolved
@pirtleshell
Copy link
Member

i believe a rebase of this branch onto release/v0.27.x will resolve all mint CI failures.

This also updates Go to 1.22 since CometBFT v0.37.12 requires 1.22+
This fork updates dependencies so it uses protobuf >= v.1.33.0
to address GHSA-8r3f-844c-mc37
Our modifications on cometbft-db were to update RocksDB from v1.8.6 to
v1.8.13 and to create the RocksDB directory if it doesn't exist.

These modifications are no longer necessary:
cometbft-db v0.9.5 updates support for RocksDB 9.2.1
Kava uses opendb which handles the creation of RocksDB directories
More relevant issue for the reason of this replacment
This matches the replacement of Cosmos SDK in v0.47.x
The rapid package only used by Cosmos SDK tests so it shouldn't affect
kava. However, just including the replace and documenting it so it's
clear that we have verified the use of the package and not omitted
because we missed it.
Copy link
Member

@nddeluca nddeluca left a comment

Choose a reason for hiding this comment

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

🔥 Tested locally against rocksdb 9.3.1, audited changes against v0.26.x, as well as audited changes in ethermint & cometbft against their previous tags

@drklee3 drklee3 merged commit 37e08c0 into release/v0.27.x Nov 5, 2024
11 checks passed
@drklee3 drklee3 deleted the dl-v0.27.x/dependencies branch November 5, 2024 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants