Skip to content

docs: app v4 #2021

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

docs: app v4 #2021

wants to merge 1 commit into from

Conversation

rootulp
Copy link
Contributor

@rootulp rootulp commented Apr 29, 2025

Closes #2018

Ready for review but we don't need to merge it until we release celestia-app v4.0.0-arabica (expected Monday May 5)

Summary by CodeRabbit

  • Documentation
    • Improved clarity and readability in the celestia-app setup guide, including refined phrasing and clearer build instructions mentioning multiplexer support.
    • Updated consensus node instructions to specify required configuration for celestia-app v4.0.0+, including an example with the necessary RPC flag.
    • Enhanced formatting in the reset network section for better readability.

@rootulp rootulp requested review from jcstein and Copilot April 29, 2025 20:35
@rootulp rootulp self-assigned this Apr 29, 2025
Copy link
Contributor

coderabbitai bot commented Apr 29, 2025

Walkthrough

The documentation for running and configuring celestia-app consensus nodes was updated for clarity and to reflect requirements for celestia-app version 4.0.0 and above. Notably, the instructions now specify the mandatory rpc.grpc_laddr setting for v4.0.0+ and clarify that the build process produces a multiplexer-enabled binary. Minor stylistic and formatting changes were also made to improve readability and precision, with no changes to technical procedures or commands.

Changes

File(s) Change Summary
how-to-guides/celestia-app.md Refined wording for clarity, updated build instructions to mention multiplexer support, improved phrasing for prerequisites.
how-to-guides/consensus-node.md Updated instructions for v4.0.0+ to require rpc.grpc_laddr, clarified version-specific steps, improved formatting.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant Docs
    participant celestia-app

    User->>Docs: Reads updated build instructions
    Docs->>User: Explains multiplexer support in celestia-appd binary
    User->>Docs: Reads consensus node startup instructions
    Docs->>User: Instructs to set rpc.grpc_laddr for v4.0.0+
    User->>celestia-app: Starts node with required flags
Loading

Assessment against linked issues

Objective Addressed Explanation
Update docs for celestia-app v4: clarify grpc_laddr requirement and multiplexer build (#2018)

Possibly related PRs

Poem

A rabbit hopped through docs anew,
Tidying words and guiding you.
Multiplexer builds now clear as day,
gRPC addresses shown the v4 way.
With each hop, instructions shine—
Celestia nodes, now well-aligned!
🐇✨


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ 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>, please review it.
    • 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 gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @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 using 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 generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this 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.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

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

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the documentation for celestia-app to reflect changes in app versions and associated configuration details for running a consensus node and installing the binary.

  • Update consensus node instructions for celestia-app v4.0.0 by requiring the --rpc.grpc_laddr flag.
  • Revise version-specific guidance and improve language consistency in installation instructions.
  • Clarify the upgraded binary build process by noting multiplexer support.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
how-to-guides/consensus-node.md Updated version notes and added the --rpc.grpc_laddr flag for v4.0.0
how-to-guides/celestia-app.md Improved language consistency and clarified build instructions

@@ -320,13 +320,13 @@ The [Node snapshots guide](/how-to-guides/snapshots.md) provides everything you

## Start the consensus node

If you are running celestia-app v1.x.x:
If you are running celestia-app >= v4.0.0, the `rpc.grpc_laddr` config option is required. This option can be set via the CLI flag `--rpc.grpc_laddr tcp://0.0.0.0:9098` or in the `config.toml`.
Copy link
Preview

Copilot AI Apr 29, 2025

Choose a reason for hiding this comment

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

Consider adding a brief note or table summarizing the version-specific instructions to clearly delineate between v1.x.x, v2.x.x, and v4.0.0 requirements. This will help users quickly identify the correct steps based on their app version.

Copilot uses AI. Check for mistakes.

@@ -57,7 +57,7 @@ Be sure to select the correct network to install the binary for.

:::

3. Build and install the `celestia-appd` binary:
3. Build and install the `celestia-appd` binary with multiplexer support:
Copy link
Preview

Copilot AI Apr 29, 2025

Choose a reason for hiding this comment

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

Consider providing a short explanation or a link to additional documentation on what 'multiplexer support' entails, so users know if they require any further configuration.

Suggested change
3. Build and install the `celestia-appd` binary with multiplexer support:
3. Build and install the `celestia-appd` binary with multiplexer support:
Multiplexer support allows the `celestia-appd` binary to handle multiple streams of data efficiently.
For more details, refer to the [multiplexer support documentation](https://docs.celestia.org/multiplexer-support).

Copilot uses AI. Check for mistakes.

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

🧹 Nitpick comments (4)
how-to-guides/celestia-app.md (3)

20-21: Ensure consistent product name casing

The document title and other sections use lowercase celestia-app. To maintain consistency, change the capitalized usage here to lowercase:

-def Celestia-app is the software that enables you to run
+celestia-app is the software that enables you to run

25-26: Consider using present perfect tense for clarity

Using “have completed” can improve readability:

-def This section of the tutorial assumes you completed the steps in
+This section of the tutorial assumes you have completed the steps in

60-60: Link or explain multiplexer support

Great addition of multiplexer support! For readers unfamiliar with this concept, consider adding a hyperlink to relevant documentation or a brief parenthetical explanation of what “multiplexer support” entails.

how-to-guides/consensus-node.md (1)

329-329: Add missing commas for readability

Adding commas after the introductory clause and before “so” will improve clarity:

- If you are running celestia-app v2.x.x then you'll want to start the node with a `--v2-upgrade-height` that is dependent on the network.
+ If you are running celestia-app v2.x.x, then you'll want to start the node with a `--v2-upgrade-height` that is dependent on the network.

- The `--v2-upgrade-height` flag is only needed during the v2 upgrade height so after your node has executed the upgrade (e.g. you see the log `upgraded from app version 1 to 2`), you don't need to provide this flag for future `celestia-appd start` invocations.
+ The `--v2-upgrade-height` flag is only needed during the v2 upgrade height, so after your node has executed the upgrade (e.g. you see the log `upgraded from app version 1 to 2`), you don't need to provide this flag for future `celestia-appd start` invocations.
🧰 Tools
🪛 LanguageTool

[typographical] ~329-~329: Consider adding a comma.
Context: ... If you are running celestia-app v2.x.x then you'll want to start the node with a `-...

(IF_THEN_COMMA)


[uncategorized] ~329-~329: Use a comma before ‘so’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...only needed during the v2 upgrade height so after your node has executed the upgrad...

(COMMA_COMPOUND_SENTENCE_2)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4e0a17f and fe80ef3.

📒 Files selected for processing (2)
  • how-to-guides/celestia-app.md (2 hunks)
  • how-to-guides/consensus-node.md (4 hunks)
🧰 Additional context used
🪛 LanguageTool
how-to-guides/consensus-node.md

[typographical] ~329-~329: Consider adding a comma.
Context: ... If you are running celestia-app v2.x.x then you'll want to start the node with a `-...

(IF_THEN_COMMA)


[uncategorized] ~329-~329: Use a comma before ‘so’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...only needed during the v2 upgrade height so after your node has executed the upgrad...

(COMMA_COMPOUND_SENTENCE_2)

🔇 Additional comments (1)
how-to-guides/consensus-node.md (1)

323-327:

❓ Verification inconclusive

Verify port consistency between example and port table

The CLI example uses port 9098 for rpc.grpc_laddr, but the ports table in celestia-app.md lists gRPC on port 9090. Please confirm the correct default port for v4.0.0+ and update the example or the table accordingly.

To help verify:


🏁 Script executed:

#!/bin/bash
# Search for gRPC port usages across docs
rg -n "909[08]" how-to-guides/celestia-app.md how-to-guides/consensus-node.md

Length of output: 609


Confirm default gRPC port alignment between consensus-node.md and celestia-app.md

It looks like the CLI example in how-to-guides/consensus-node.md (lines 323–327) uses port 9098 for rpc.grpc_laddr, but the ports table in how-to-guides/celestia-app.md (line 131) lists gRPC on port 9090. Please verify the correct default port for celestia-app v4.0.0+ and update either the example or the table so they match.

• how-to-guides/consensus-node.md (lines 323–327):
celestia-appd start --rpc.grpc_laddr tcp://0.0.0.0:9098
• how-to-guides/celestia-app.md (line 131):
| 9090 | HTTP | 0.0.0.0 | gRPC | true | --grpc.address string |

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.

Update docs for celestia-app v4
1 participant