Skip to content

docs: link docker setup to consensus endpoints with RPC and gRPC#2440

Draft
jcstein wants to merge 1 commit intomainfrom
codex/issue-1625-rpc-grpc-endpoints
Draft

docs: link docker setup to consensus endpoints with RPC and gRPC#2440
jcstein wants to merge 1 commit intomainfrom
codex/issue-1625-rpc-grpc-endpoints

Conversation

@jcstein
Copy link
Copy Markdown
Member

@jcstein jcstein commented Mar 6, 2026

Overview

Fixes #1625.

This PR updates the Docker setup docs so the network links point to sections that clearly list consensus endpoints with both RPC and gRPC.

  • Updates Docker quickstart wording and links in app/operate/getting-started/docker/page.mdx.
  • Adds a Mocha Community consensus endpoints section with --core.ip hosts plus RPC (26657) and gRPC (9090) ports in app/operate/networks/mocha-testnet/page.mdx.
  • Renames the Arabica section heading to Community consensus endpoints so Docker links directly to the endpoint list in app/operate/networks/arabica-devnet/page.mdx.

Validation

  • Verified anchors referenced from Docker setup:
    • /operate/networks/mocha-testnet#community-consensus-endpoints
    • /operate/networks/arabica-devnet#community-consensus-endpoints
  • npm run lint -- app/operate/getting-started/docker/page.mdx app/operate/networks/mocha-testnet/page.mdx app/operate/networks/arabica-devnet/page.mdx could not run in this environment because eslint is not installed.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request enhances the clarity and accuracy of network endpoint documentation, particularly for Docker setup and testnet configurations. By standardizing terminology to 'consensus endpoint' and explicitly detailing the requirement for both RPC and gRPC services, the changes aim to provide users with more precise and comprehensive guidance for connecting to various networks.

Highlights

  • Terminology Update: Updated references from 'RPC endpoint' to 'consensus endpoint' across the documentation to more accurately reflect the required functionality.
  • Endpoint Clarity: Clarified that consensus endpoints should provide both RPC (26657) and gRPC (9090) services.
  • Mocha Testnet Endpoint Details: Introduced a new table in the Mocha testnet documentation, listing community consensus endpoints with explicit RPC and gRPC port information.
  • Documentation Links: Revised internal links to Mocha and Arabica devnet pages to point to the newly updated sections.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • app/operate/getting-started/docker/page.mdx
    • Renamed the heading 'Configure the RPC endpoint' to 'Configure the consensus endpoint'.
    • Updated the description for setting an endpoint to specify the need for both RPC (26657) and gRPC (9090).
    • Adjusted the link for Mocha testnet to point to the updated section.
    • Clarified the instruction for setting the gRPC port for the RPC_URL host.
  • app/operate/networks/arabica-devnet/page.mdx
    • Renamed the heading 'Community RPC endpoints' to 'Community consensus endpoints'.
    • Updated the introductory text to refer to 'Consensus endpoints and node types' instead of 'RPC endpoints and types of nodes'.
  • app/operate/networks/mocha-testnet/page.mdx
    • Renamed the heading 'Community bridge node endpoints' to 'Community consensus endpoints'.
    • Added a new table detailing community consensus endpoints for --core.ip, including RPC and gRPC port information.
    • Removed a redundant list of individual endpoints, replacing it with a reference to the newly added table.
Activity
  • No activity has occurred on this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the documentation to clarify the use of consensus endpoints that provide both RPC and gRPC services, particularly for Docker setups. The changes are generally good and improve clarity. I've added two comments: one suggests renaming some environment variables in the Docker setup guide for better readability and consistency, and the other points out a potential inconsistency created by removing an endpoint from a list in the Mocha testnet documentation while it's still being used in examples elsewhere.

I am having trouble creating individual review comments. Click here to see my feedback.

app/operate/getting-started/docker/page.mdx (92-98)

medium

The variable names RPC_URL and RPC_PORT are misleading now that they refer to a consensus host and a gRPC port. To improve clarity for users, consider renaming them.

For example, you could use CONSENSUS_HOST and GRPC_PORT:

   export CONSENSUS_HOST=this-is-an-rpc-url.com

Then set the gRPC port for the CONSENSUS_HOST host:

export GRPC_PORT=9090

If you make this change, please also update the docker run commands further down in the file to use these new variable names (e.g., ... --core.ip $CONSENSUS_HOST --core.port $GRPC_PORT ...).

app/operate/networks/mocha-testnet/page.mdx (112-118)

medium

The endpoint rpc-mocha.pops.one has been removed from this list. However, it is still used as an example endpoint in other documentation pages, such as app/operate/data-availability/light-node/quickstart/page.mdx and app/operate/data-availability/bridge-node/page.mdx.

If rpc-mocha.pops.one is no longer a recommended consensus endpoint, the examples in other files should be updated to use one of the endpoints from the new 'Community consensus endpoints' table. If it is still valid and provides both RPC and gRPC from the same host, it should be added to that table for consistency.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 6, 2026

🚀 Preview Deployment

Your preview is ready: https://celestiaorg.github.io/docs-preview/pr-2440/

@jcstein jcstein self-assigned this Mar 6, 2026
@jcstein jcstein requested a review from Copilot March 7, 2026 06:11
Copy link
Copy Markdown
Contributor

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

Updates the Docker setup documentation so Mocha and Arabica network links land on sections that explicitly list consensus endpoints where both RPC (26657) and gRPC (9090) are available from the same host (addressing #1625).

Changes:

  • Updated Docker quickstart wording and network links to point to “Community consensus endpoints” anchors for Mocha and Arabica.
  • Added a “Community consensus endpoints” table to the Mocha network page with --core.ip hosts and RPC/gRPC ports.
  • Renamed the Arabica “Community RPC endpoints” section heading to “Community consensus endpoints” to match the new Docker link target.

Reviewed changes

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

File Description
app/operate/getting-started/docker/page.mdx Updates wording/links to direct users to consensus endpoints that support both RPC and gRPC; clarifies port intent.
app/operate/networks/mocha-testnet/page.mdx Introduces a dedicated consensus-endpoints table (with both ports) and points bridge-node guidance to it.
app/operate/networks/arabica-devnet/page.mdx Renames the community section heading (and a sentence) so Docker links resolve directly to the intended endpoint list.
Comments suppressed due to low confidence (1)

app/operate/getting-started/docker/page.mdx:99

  • This step says to set the gRPC port, but the environment variable is named RPC_PORT. To keep terminology consistent (and reduce chances of setting 26657 by mistake), consider renaming it to something like GRPC_PORT/CORE_PORT, or explicitly note here that --core.port should be the consensus gRPC port (usually 9090).
Then set the gRPC port for the `RPC_URL` host:

   ```bash
   export RPC_PORT=9090
</details>



---

💡 <a href="/celestiaorg/docs/new/main?filename=.github/instructions/*.instructions.md" class="Link--inTextBlock" target="_blank" rel="noopener noreferrer">Add Copilot custom instructions</a> for smarter, more guided reviews. <a href="https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot" class="Link--inTextBlock" target="_blank" rel="noopener noreferrer">Learn how to get started</a>.

Comment on lines 89 to 92
using the bare URL (without http or https):

```bash
export RPC_URL=this-is-an-rpc-url.com
Copy link

Copilot AI Mar 7, 2026

Choose a reason for hiding this comment

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

The doc now describes configuring a “consensus endpoint”, but the instructions and variable name still call it RPC_URL and describe it as a “bare URL (without http or https)”. Since the value is actually a hostname used for --core.ip, consider renaming the env var (e.g., CORE_IP/CONSENSUS_HOST) or adjusting the wording to consistently call this a host/endpoint (not a URL) to avoid confusion.

Suggested change
using the bare URL (without http or https):
```bash
export RPC_URL=this-is-an-rpc-url.com
using the consensus endpoint host (without `http://` or `https://`):
```bash
export RPC_URL=consensus.example.com

Copilot uses AI. Check for mistakes.
> **Warning:** Do not rely on the free community endpoints listed below for production deployments. Production deployments should rely on [service providers with SLAs](#production-rpc-endpoints) or your own node.

RPC endpoints and types of nodes you can run in order to participate in Arabica devnet:
Consensus endpoints and node types you can run in order to participate in Arabica devnet:
Copy link

Copilot AI Mar 7, 2026

Choose a reason for hiding this comment

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

The section heading was renamed to “Community consensus endpoints”, but the intro sentence now says “Consensus endpoints…” while the table includes multiple endpoint types (Consensus RPC, API, gRPC, and direct hostnames). Consider rephrasing this line to clarify that these are consensus-node endpoints and that the table lists RPC/API/gRPC options, so readers don’t interpret it as “consensus-only” endpoints.

Suggested change
Consensus endpoints and node types you can run in order to participate in Arabica devnet:
Consensus-node endpoints and node types you can run in order to participate in Arabica devnet, including RPC, API, gRPC, and direct hostnames:

Copilot uses AI. Check for mistakes.
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.

docs: RPC endpoints linked from docker page do not have both RPC and gRPC

2 participants