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

Update dbs docs #167

Merged
merged 9 commits into from
Aug 1, 2024
Merged

Update dbs docs #167

merged 9 commits into from
Aug 1, 2024

Conversation

GAtom22
Copy link
Contributor

@GAtom22 GAtom22 commented Jul 30, 2024

Summary by CodeRabbit

  • Documentation
    • Updated database configuration guidelines for the Evmos protocol.
    • Revised minimum Golang version requirement from 1.20+ to >=1.22.2.
    • Changed recommended evmosd source code version from v14.0.0 to v19.0.0.
    • Expanded Pebble DB instructions and clarified commands regarding binary version checks.
    • Updated Rocks DB library version requirements and installation commands for clarity.

Copy link
Contributor

coderabbitai bot commented Jul 30, 2024

Warning

Rate limit exceeded

@GAtom22 has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 9 minutes and 35 seconds before requesting another review.

How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

Commits

Files that changed from the base of the PR and between 8f1c8d9 and 3361f43.

Walkthrough

The document on database configurations for the Evmos protocol has undergone substantial enhancements. Key updates include an increase in the minimum required Golang version and an upgrade in the recommended Evmos source code version. The sections on PebbleDB and RocksDB have been expanded with clearer installation instructions and updated dependency versions, ensuring users have the most current information for effective implementation.

Changes

Files Change Summary
docs/protocol/evmos-cli/alternative-dbs.md - Golang version requirement updated from 1.20+ to >=1.22.2
- Example version for evmosd source code changed from v14.0.0 to v19.0.0
- grocksdb dependency version updated from v1.8.4 to v1.9.2
- librocksdb version requirement updated from v8.5.3 to v9.2.1
- Expanded instructions for PebbleDB and RocksDB, emphasizing binary version checks.

Poem

🐇 In the garden where updates bloom,
A hop and a skip, dispelling the gloom.
With Pebble and Rocks, we build and we play,
New versions arise, brightening the day!
So gather your tools, let’s code with delight,
For Evmos is shining, oh what a sight! 🌟


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

netlify bot commented Jul 30, 2024

Deploy Preview for dancing-hummingbird-242a98 ready!

Name Link
🔨 Latest commit 3361f43
🔍 Latest deploy log https://app.netlify.com/sites/dancing-hummingbird-242a98/deploys/66aba426a3aff7000899d9ed
😎 Deploy Preview https://deploy-preview-167--dancing-hummingbird-242a98.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@GAtom22 GAtom22 enabled auto-merge (squash) July 30, 2024 16:45
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: 20

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 7ea8525 and 6a93403.

Files selected for processing (1)
  • docs/protocol/evmos-cli/alternative-dbs.md (8 hunks)
Additional context used
LanguageTool
docs/protocol/evmos-cli/alternative-dbs.md

[grammar] ~16-~16: It seems that a pronoun is missing.
Context: .../evmos/evmos) version. For example, if want to use v19.0.0, execute the foll...

(IF_VB)


[style] ~39-~39: ‘previous to’ might be wordy. Consider a shorter alternative.
Context: ... :::warning NOTE: if using a version previous to v19, you'll need to replace the comet...

(EN_WORDINESS_PREMIUM_PREVIOUS_TO)


[grammar] ~76-~76: The word “setup” is a noun. The verb is spelled with a white space.
Context: ...ld-docker-pebbledb ``` ## Rocks DB To setup a node with rocksDB, you need to instal...

(NOUN_VERB_CONFUSION)


[uncategorized] ~80-~80: The grammatical number of this noun doesn’t look right. Consider replacing it.
Context: ...plies to Ubuntu OS. For other operating system, refer to the [rocksdb installation gui...

(AI_EN_LECTOR_REPLACEMENT_NOUN_NUMBER)


[uncategorized] ~90-~90: Use a comma before ‘and’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...gs-dev ``` If this doesn't work and you're using Ubuntu, [here's a nice tut...

(COMMA_COMPOUND_SENTENCE)

Markdownlint
docs/protocol/evmos-cli/alternative-dbs.md

14-14: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


15-15: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


84-84: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


92-92: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


98-98: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


104-104: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


110-110: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


116-116: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


122-122: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


128-128: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


256-256: Expected: 120; Actual: 128
Line length

(MD013, line-length)


251-251: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


252-252: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


256-256: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


283-283: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)

Additional comments not posted (8)
docs/protocol/evmos-cli/alternative-dbs.md (8)

14-15: Update Golang version requirement.

The Golang version requirement has been updated to >=1.22.2. Ensure that all users are aware of this new requirement.

Tools
Markdownlint

14-14: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


15-15: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


19-19: Update example version for evmosd source code.

The example version for evmosd source code has been updated to v19.0.0. Ensure that all users follow this updated example.


24-29: Add commands for compiling and installing evmosd binary with PebbleDB support.

The new commands provide clear instructions for compiling and installing the evmosd binary with PebbleDB support.


31-36: Add instructions for checking the binary version.

The instructions emphasize the importance of checking the binary version to ensure the -pebbledb suffix is present.


84-132: Update installation commands for dependencies.

The installation commands for various dependencies have been updated and reformatted for clarity.

Tools
LanguageTool

[uncategorized] ~90-~90: Use a comma before ‘and’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...gs-dev ``` If this doesn't work and you're using Ubuntu, [here's a nice tut...

(COMMA_COMPOUND_SENTENCE)

Markdownlint

84-84: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


92-92: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


98-98: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


104-104: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


110-110: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


116-116: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


122-122: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


128-128: Expected: 1; Actual: 3
Spaces after list markers

(MD030, list-marker-space)


151-156: Update grocksdb dependency version.

The grocksdb dependency version has been updated to v1.9.2, which supports RocksDB v9.2.1.


165-165: Update installation command for librocksdb.

The command to clone the librocksdb repository has been updated to version v9.2.1.


222-222: Add instructions for checking the binary version.

The instructions emphasize the importance of checking the binary version to ensure the -rocksdb suffix is present.

docs/protocol/evmos-cli/alternative-dbs.md Outdated Show resolved Hide resolved
docs/protocol/evmos-cli/alternative-dbs.md Outdated Show resolved Hide resolved
docs/protocol/evmos-cli/alternative-dbs.md Outdated Show resolved Hide resolved
docs/protocol/evmos-cli/alternative-dbs.md Outdated Show resolved Hide resolved
docs/protocol/evmos-cli/alternative-dbs.md Outdated Show resolved Hide resolved
docs/protocol/evmos-cli/alternative-dbs.md Outdated Show resolved Hide resolved
docs/protocol/evmos-cli/alternative-dbs.md Outdated Show resolved Hide resolved
docs/protocol/evmos-cli/alternative-dbs.md Outdated Show resolved Hide resolved
docs/protocol/evmos-cli/alternative-dbs.md Outdated Show resolved Hide resolved
docs/protocol/evmos-cli/alternative-dbs.md Outdated Show resolved Hide resolved
GAtom22 and others added 2 commits July 30, 2024 18:16
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
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: 4

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 6a93403 and 76513a5.

Files selected for processing (1)
  • docs/protocol/evmos-cli/alternative-dbs.md (7 hunks)
Additional context used
LanguageTool
docs/protocol/evmos-cli/alternative-dbs.md

[grammar] ~16-~16: It seems that a pronoun is missing.
Context: ...om/evmos/evmos) version. For example, if want to use v19.0.0, execute the foll...

(IF_VB)


[grammar] ~77-~77: The word “setup” is a noun. The verb is spelled with a white space.
Context: ...ld-docker-pebbledb ``` ## Rocks DB To setup a node with rocksDB, you need to instal...

(NOUN_VERB_CONFUSION)

Additional comments not posted (6)
docs/protocol/evmos-cli/alternative-dbs.md (6)

14-14: Approved: Update Golang version requirement.

The Golang version requirement has been correctly updated to >=1.22.2.


16-19: Approved: Update example version for evmosd source code.

The example version for evmosd source code has been correctly updated to v19.0.0.

Tools
LanguageTool

[grammar] ~16-~16: It seems that a pronoun is missing.
Context: ...om/evmos/evmos) version. For example, if want to use v19.0.0, execute the foll...

(IF_VB)


39-39: Approved: Simplify wording.

The phrase "previous to" has been correctly simplified to "before".


152-152: Approved: Update grocksdb dependency version.

The grocksdb dependency version has been correctly updated to v1.9.2.


157-157: Approved: Update librocksdb version requirement.

The librocksdb version requirement has been correctly updated to v9.2.1.


223-223: Approved: Update binary version check.

The binary version check has been correctly updated to ensure the -rocksdb suffix is present.

docs/protocol/evmos-cli/alternative-dbs.md Show resolved Hide resolved
docs/protocol/evmos-cli/alternative-dbs.md Outdated Show resolved Hide resolved
docs/protocol/evmos-cli/alternative-dbs.md Show resolved Hide resolved
GAtom22 and others added 2 commits August 1, 2024 11:44
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
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: 1

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 76513a5 and 8f1c8d9.

Files selected for processing (1)
  • docs/protocol/evmos-cli/alternative-dbs.md (7 hunks)
Additional context used
LanguageTool
docs/protocol/evmos-cli/alternative-dbs.md

[grammar] ~77-~77: The word “setup” is a noun. The verb is spelled with a white space.
Context: ...ld-docker-pebbledb ``` ## Rocks DB To setup a node with rocksDB, you need to instal...

(NOUN_VERB_CONFUSION)

Additional comments not posted (9)
docs/protocol/evmos-cli/alternative-dbs.md (9)

14-14: LGTM! Golang version requirement update.

The Golang version requirement has been correctly updated to >=1.22.2.


16-19: LGTM! Example version update.

The example version for evmosd source code has been correctly updated to v19.0.0.


24-29: LGTM! Added commands for PebbleDB support.

The new commands for compiling and installing the evmosd binary with PebbleDB support are correctly formatted.


31-36: LGTM! Added instructions for verifying binary version.

The new instructions for verifying the binary version with the -pebbledb suffix are correctly formatted.


Line range hint 38-56: LGTM! Added warning note and commands for cometbft-db dependency.

The new warning note and commands for replacing the cometbft-db dependency for versions prior to v19 are correctly formatted.


66-73: LGTM! Added commands for building docker image with PebbleDB support.

The new commands for building a docker image with the evmosd binary compiled to use PebbleDB are correctly formatted.


152-157: LGTM! Updated grocksdb dependency version.

The grocksdb dependency version has been correctly updated to v1.9.2.


159-166: LGTM! Updated librocksdb version requirement.

The librocksdb version requirement has been correctly updated to v9.2.1.


81-81: Fix grammatical number: Use "operating systems" instead of "operating system".

The phrase "operating system" should be plural.

- For other operating system, refer to the [rocksdb installation guide](https://github.com/facebook/rocksdb/blob/v9.2.1/INSTALL.md).
+ For other operating systems, refer to the [rocksdb installation guide](https://github.com/facebook/rocksdb/blob/v9.2.1/INSTALL.md).

Likely invalid or redundant comment.

docs/protocol/evmos-cli/alternative-dbs.md Outdated Show resolved Hide resolved
Copy link
Contributor

@MalteHerrmann MalteHerrmann left a comment

Choose a reason for hiding this comment

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

Thanks for updating @GAtom22! 🚀

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@GAtom22 GAtom22 merged commit 21406fd into main Aug 1, 2024
2 checks passed
@GAtom22 GAtom22 deleted the update-dbs branch August 1, 2024 15:05
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