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

Problem: ethermint is outdated #1336

Merged
merged 3 commits into from
Mar 5, 2024
Merged

Conversation

mmsqe
Copy link
Collaborator

@mmsqe mmsqe commented Mar 5, 2024

👮🏻👮🏻👮🏻 !!!! REFERENCE THE PROBLEM YOUR ARE SOLVING IN THE PR TITLE AND DESCRIBE YOUR SOLUTION HERE !!!! DO NOT FORGET !!!! 👮🏻👮🏻👮🏻

PR Checklist:

  • Have you read the CONTRIBUTING.md?
  • Does your PR follow the C4 patch requirements?
  • Have you rebased your work on top of the latest master?
  • Have you checked your code compiles? (make)
  • Have you included tests for any non-trivial functionality?
  • Have you checked your code passes the unit tests? (make test)
  • Have you checked your code formatting is correct? (go fmt)
  • Have you checked your basic code style is fine? (golangci-lint run)
  • If you added any dependencies, have you checked they do not contain any known vulnerabilities? (go list -json -m all | nancy sleuth)
  • If your changes affect the client infrastructure, have you run the integration test?
  • If your changes affect public APIs, does your PR follow the C4 evolution of public contracts?
  • If your code changes public APIs, have you incremented the crate version numbers and documented your changes in the CHANGELOG.md?
  • If you are contributing for the first time, please read the agreement in CONTRIBUTING.md now and add a comment to this pull request stating that your PR is in accordance with the Developer's Certificate of Origin.

Thank you for your code, it's appreciated! :)

Summary by CodeRabbit

  • Bug Fixes
    • Updated ethermint and cosmos-sdk dependencies to improve stability and compatibility.

Copy link
Contributor

coderabbitai bot commented Mar 5, 2024

Walkthrough

The change introduces updates to dependencies in the project, specifically upgrading ethermint to its develop branch and updating cosmos-sdk to version v0.47.10. These modifications are under the Bug Fixes section of the CHANGELOG.md and aim to enhance the project's stability and performance.

Changes

File(s) Change Summary
.../dependencies/ethermint Upgraded to develop branch in PR #1336
.../dependencies/cosmos-sdk Updated to version v0.47.10 in PR #1329

🐇✨
In the code garden, changes bloom,
ethermint and cosmos-sdk assume
Their latest guise, in PR's light,
Bugs flee from their updated might.
In the digital meadow, we hop and play,
With every commit, a brighter day.
🌟🐰

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-tests 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 tests 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 tests.
    • @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 pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to 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.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • 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/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

CHANGELOG.md Outdated Show resolved Hide resolved
Signed-off-by: mmsqe <mavis@crypto.com>
@mmsqe mmsqe marked this pull request as ready for review March 5, 2024 04:38
@mmsqe mmsqe requested a review from a team as a code owner March 5, 2024 04:38
@mmsqe mmsqe requested review from devashishdxt and leejw51crypto and removed request for a team March 5, 2024 04:38
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.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between abc1ea6 and b973e5a.
Files ignored due to path filters (3)
  • go.mod is excluded by: !**/*.mod
  • go.sum is excluded by: !**/*.sum
  • gomod2nix.toml is excluded by: !**/*.toml
Files selected for processing (1)
  • CHANGELOG.md (1 hunks)
Additional comments: 2
CHANGELOG.md (2)
  • 7-7: The update of ethermint to the develop branch is noted. It's crucial to ensure that this branch is stable and tested for production use. Typically, relying on a development branch might introduce instability. Confirm that all necessary tests have been conducted and consider specifying a more stable version if available.
  • 15-15: The update of cosmos-sdk to version v0.47.10 is documented. Ensure compatibility with this version of cosmos-sdk across the project, including any dependencies or modules that interact with it. It's also important to verify that all features and functionalities work as expected with this new version.

Copy link

codecov bot commented Mar 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 35.50%. Comparing base (abc1ea6) to head (c1a25b3).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #1336       +/-   ##
===========================================
+ Coverage   15.90%   35.50%   +19.59%     
===========================================
  Files          80      129       +49     
  Lines        6230    11735     +5505     
===========================================
+ Hits          991     4166     +3175     
- Misses       5160     7189     +2029     
- Partials       79      380      +301     

see 73 files with indirect coverage changes

@mmsqe mmsqe added this pull request to the merge queue Mar 5, 2024
go.mod Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@mmsqe mmsqe removed this pull request from the merge queue due to a manual request Mar 5, 2024
Co-authored-by: yihuang <huang@crypto.com>
Signed-off-by: mmsqe <mavis@crypto.com>
@yihuang yihuang enabled auto-merge March 5, 2024 06:33
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.

Review Status

Actionable comments generated: 5

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between b973e5a and c1a25b3.
Files selected for processing (1)
  • CHANGELOG.md (1 hunks)
Additional comments: 49
CHANGELOG.md (49)
  • 7-7: The entry mentions updating ethermint to the develop branch to fix the feeHistory RPC API. However, the term ethermint is misspelled as ether mint in the static analysis hint, which is incorrect in this context. The correct term is indeed ethermint. Additionally, feeHistory and rpc api are correctly used in the context of blockchain and should not be altered based on the static analysis suggestions.
  • 15-15: The entry correctly updates cosmos-sdk to version v0.47.10. The static analysis hint suggesting cosmoses or CosmosDB as replacements is not applicable here, as cosmos-sdk is the correct term referring to the Cosmos Software Development Kit.
  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [23-23]

The term relayer is correctly used in the context of blockchain technology, specifically in relation to IBC (Inter-Blockchain Communication). The static analysis suggestion to replace it with similar-sounding words like relayed or relaxer is not relevant.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [24-24]

The term eth_getLogs is correctly used in the context of Ethereum JSON-RPC API calls. The static analysis suggestions to replace eth with similar-sounding words or to split getLogs into get Logs are not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [25-25]

The term testnet is correctly used in the context of blockchain development, referring to a testing network. The static analysis suggestion to split it into test net is not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [29-29]

The entry correctly updates cosmos-sdk to version v0.47.9. The static analysis hint suggesting cosmoses or CosmosDB as replacements is not applicable here, as cosmos-sdk is the correct term referring to the Cosmos Software Development Kit.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [37-37]

The term memiavl is likely a specific implementation or module within the project. The static analysis suggestion to replace it with medial or menial is incorrect. In the context of blockchain or database technology, custom terms like memiavl are often used to refer to specific components or libraries.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [38-38]

The terms debug_traceCall and eth_feeHistory are correctly used in the context of Ethereum JSON-RPC API calls. The static analysis suggestions to split these terms or replace eth are not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [39-39]

The term rootmulti store is likely referring to a specific storage mechanism or structure within the project. The static analysis suggestion to split it into root multi is not applicable, as the original term is likely the correct technical term used in the project.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [40-40]

The term versiondb is correctly used in the context of a versioned database or a specific database management system within the project. The static analysis suggestions to split it into version db or to replace fsync are not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [41-41]

The entry mentions updating ethermint to fix issues related to evm hooks and transaction priority. The term evm is correctly used in the context of the Ethereum Virtual Machine, and tx is a common abbreviation for "transaction" in blockchain contexts.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [42-42]

The term memiavl log is likely referring to a specific logging mechanism within the memiavl module or library. The static analysis suggestion to replace memiavl with similar-sounding words is not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [46-46]

The term ibc-go is correctly used in the context of the IBC (Inter-Blockchain Communication) protocol implementation in Go. The static analysis suggestion to replace it with similar-sounding words is not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [54-54]

The entry correctly updates ethermint and cosmos-sdk to specific versions. The static analysis hints suggesting replacements for ethermint and cosmos-sdk are not applicable, as these terms are correctly used in the context of blockchain technology.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [56-56]

The term authz module is likely referring to an authorization module within the project. The static analysis suggestion to replace authz with similar-sounding words is not applicable, as authz is a common abbreviation for "authorization" in software development.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [57-57]

The term debug_traceCall is correctly used in the context of Ethereum JSON-RPC API calls. The static analysis suggestion to split the term is not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [61-61]

The entry mentions updating ethermint to fix issues related to concurrent writing in fee history. The term ethermint is correctly used, and the context suggests it's related to Ethereum's fee history functionality.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [63-63]

The entry correctly updates ethermint to address issues related to parsing chainID from genesis when starting the server. The term ethermint is correctly used, and the context is specific to blockchain technology.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [64-64]

The term mem store in versiondb multistore is likely referring to a specific storage mechanism within the versiondb system. The static analysis suggestions to replace or split these terms are not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [70-70]

The term relayer precompile is correctly used in the context of a blockchain or smart contract system where a relayer component is involved. The static analysis suggestions are not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [71-71]

The entry mentions supporting accurate gas estimation in evm tx from a relayer. The terms evm and tx are correctly used in the context of Ethereum transactions, and relayer is relevant in blockchain communication.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [72-72]

The entry correctly updates ethermint and go-ethereum to specific versions. The static analysis hints suggesting replacements for ethermint and go-ethereum are not applicable, as these terms are correctly used in the context of blockchain technology.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [73-73]

The term ica packet callback is likely referring to a specific callback mechanism related to IBC (Inter-Blockchain Communication) packets. The static analysis suggestion to replace ica with similar-sounding words is not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [74-74]

The term ica precompile is correctly used in the context of a precompiled contract or function related to IBC (Inter-Blockchain Communication). The static analysis suggestions are not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [75-75]

The term max_callback_gas is likely a configuration parameter related to gas limits in blockchain transactions. The static analysis suggestion to replace param with parameter is valid for clarity, but not strictly necessary as param is a common abbreviation.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [79-79]

The term websocket/subscription system is correctly used in the context of web technology and blockchain event subscriptions. The static analysis suggestion to replace websocket with web socket is not applicable, as websocket is the correct term.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [80-80]

The term memiavl restoration is likely referring to a specific process related to the memiavl module or library. The static analysis suggestion to replace memiavl with similar-sounding words is not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [89-89]

The term keypair is correctly used in the context of cryptographic key pairs. The static analysis suggestion to replace it with key pair is not applicable, as keypair is a commonly used term in cryptography.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [89-89]

The term SendEnabled is likely a specific configuration or feature flag within the project. The static analysis suggestion to split it into Send Enabled is not applicable, as the original term is likely the correct technical term used in the project.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [89-89]

The term param is a common abbreviation for "parameter" in software development and is correctly used here. The static analysis suggestion to replace it with parameter is valid for clarity but not strictly necessary.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [90-90]

The term versiondb is correctly used in the context of a versioned database or a specific database management system within the project. The static analysis suggestions to split it into version db or to replace memiavl are not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [94-94]

The term rocksdb options is correctly used in the context of configuring the RocksDB database engine. The static analysis suggestion to replace rocksdb with rocks db is not applicable, as rocksdb is the correct term.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [102-102]

The term generic events format is correctly used in the context of a data format specification. The static analysis suggestion to replace params with parameters is valid for clarity, but not strictly necessary as params is a common abbreviation.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [104-104]

The term upgrade handler is correctly used in the context of software version management, specifically for handling upgrades in blockchain or distributed ledger technology. The static analysis suggestions are not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [107-107]

The term turnbridge transaction is likely a specific type of transaction within the project. The static analysis suggestion to split it into turn bridge is not applicable, as the original term is likely the correct technical term used in the project.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [109-109]

The term prune command is correctly used in the context of database or blockchain node management, referring to a command that removes unnecessary data. The static analysis suggestions are not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [110-110]

The term experimental flag is correctly used in the context of software development, referring to a flag that enables experimental features. The static analysis suggestions are not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [112-112]

The term permissions in cronos is correctly used in the context of access control within the project. The static analysis suggestions are not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [113-113]

The term proxy contract is correctly used in the context of smart contracts, specifically referring to a contract that delegates calls to other contracts. The static analysis suggestions are not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [115-115]

The entry correctly updates ethermint, go-ethereum, and ibc-go to specific versions. The static analysis hints suggesting replacements for ethermint and go-ethereum are not applicable, as these terms are correctly used in the context of blockchain technology.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [116-116]

The term ica module is likely referring to a specific module within the project related to IBC (Inter-Blockchain Communication). The static analysis suggestion to replace ica with similar-sounding words is not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [117-117]

The term ibc-go is correctly used in the context of the IBC (Inter-Blockchain Communication) protocol implementation in Go. The static analysis suggestion to replace it with similar-sounding words is not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [118-118]

The term stateful precompiled contract is correctly used in the context of blockchain or smart contract systems. The static analysis suggestions are not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [119-119]

The term icaauth module is likely a specific module within the project related to IBC (Inter-Blockchain Communication) authentication. The static analysis suggestion to replace icaauth with similar-sounding words is not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [120-120]

The term stateful precompiled contract is correctly used in the context of blockchain or smart contract systems. The static analysis suggestions are not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [122-122]

The term stateful precompiled contract for bank is correctly used in the context of blockchain or smart contract systems where a bank module or functionality is involved. The static analysis suggestions are not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [123-123]

The entry correctly updates ibc-go to version v7.3.1. The static analysis hint suggesting replacements for ibc-go is not applicable, as ibc-go is the correct term referring to the IBC (Inter-Blockchain Communication) protocol implementation in Go.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [124-124]

The term max block gas limit is correctly used in the context of blockchain transaction processing. The static analysis suggestions are not applicable.

  • 4-17: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [125-125]

The term gravity module is correctly used in the context of blockchain technology, specifically referring to a module for bridging assets between different blockchains. The static analysis suggestions are not applicable.

CHANGELOG.md Show resolved Hide resolved
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.

2 participants