Skip to content

docs: correct misuse of 'validator node' across multiple docs#1982

Merged
jcstein merged 5 commits intocelestiaorg:mainfrom
gabrielaugz:docs/fix-validator-node-terminology
Apr 22, 2025
Merged

docs: correct misuse of 'validator node' across multiple docs#1982
jcstein merged 5 commits intocelestiaorg:mainfrom
gabrielaugz:docs/fix-validator-node-terminology

Conversation

@gabrielaugz
Copy link
Copy Markdown
Contributor

@gabrielaugz gabrielaugz commented Apr 14, 2025

This PR updates multiple documentation files to correct the misuse of the term "validator node", replacing it with more accurate alternatives such as "consensus node", "core node", or "Celestia Core node", where appropriate.

The goal is to improve technical accuracy and clarity, following the guidance in issue #1977.

I have updated the following files:

  • bridge-node.md
  • celestia-app.md
  • full-storage-node.md
  • snapshots.md

No changes were made where “validator node” was technically correct.

Summary by CodeRabbit

  • Documentation
    • Revised connection instructions across multiple node guides to specify using a consensus node's gRPC endpoint on port 9090.
    • Updated celestia-app guide to highlight support for consensus nodes, including validators.
    • Clarified that pruned snapshots apply to all consensus nodes, not just validators.
    • Enhanced terminology consistency by replacing "core" and "validator" with "consensus node" in all relevant guides and configuration references.
    • Improved clarity on node roles and port usage in troubleshooting and configuration documentation.
    • Updated mainnet and tutorial guides to reflect consensus node terminology and corrected documentation anchors for authenticated endpoints.

Replaced incorrect references to 'validator node' in bridge-node.md, celestia-app.md, full-storage-node.md, and snapshots.md. Updated to 'consensus node', 'core node', or similar terms where appropriate, following the guidance in issue celestiaorg#1977.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 14, 2025

Walkthrough

The changes update several how-to guides to clarify node connection instructions and node type descriptions. In the bridge node, full storage node, and light node guides, references to a validator node's gRPC endpoint have been replaced with a consensus node's gRPC endpoint (noting port 9090). In the celestia-app and snapshots guides, the terminology has been broadened from "validator nodes" to "consensus nodes (including validators)". Additional clarifications were made in troubleshooting, config, consensus node, mainnet, and tutorial guides to consistently use "consensus node" terminology. No modifications were made to exported or public entity declarations.

Changes

Files Change Summary
how-to-guides/bridge-node.md, how-to-guides/full-storage-node.md, how-to-guides/light-node.md Updated instructions to replace "validator node's gRPC endpoint" with "consensus node's gRPC endpoint", including specification of port 9090.
how-to-guides/celestia-app.md, how-to-guides/snapshots.md Revised node type descriptions to change references from "validator nodes" to "consensus nodes (including validators)".
how-to-guides/celestia-node-troubleshooting.md Clarified port 9090 as a "validator (consensus node)" port instead of just "validator" port.
how-to-guides/config-toml.md Changed references from "core" node to "consensus" node, including section headings and flag descriptions.
how-to-guides/consensus-node.md Clarified reset-state command description to specify preservation of validator state and address book of the consensus node.
how-to-guides/mainnet.md Updated documentation anchor link to refer to the consensus node endpoint authentication subsection instead of core endpoint.
tutorials/node-tutorial.md Replaced "core" endpoint/network references with "consensus node" terminology throughout the tutorial.

Possibly related PRs

Suggested reviewers

  • jcstein
  • mindstyle85
  • rootulp

Poem

I’m a cheery rabbit on the run,
Hop by hop, documenting changes under the sun.
Endpoints and nodes now speak so clear,
With guidance so precise, there's nothing to fear.
Leap forward in docs, happy and bright—
Carrots and code in sync, what a delight!
🥕🚀

Tip

⚡💬 Agentic Chat (Pro Plan, General Availability)
  • We're introducing multi-step agentic chat in review comments and issue comments, within and outside of PR's. This feature enhances review and issue discussions with the CodeRabbit agentic chat by enabling advanced interactions, including the ability to create pull requests directly from comments and add commits to existing pull requests.

📜 Recent review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between fde9eae and 8826f58.

📒 Files selected for processing (1)
  • how-to-guides/mainnet.md (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • how-to-guides/mainnet.md

🪧 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 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
Copy Markdown
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

🔭 Outside diff range comments (1)
how-to-guides/full-storage-node.md (1)

60-66: 🛠️ Refactor suggestion

Inconsistent Node Reference Terminology

Line 60 correctly introduces the connection as to a “Celestia Core node’s gRPC endpoint.” However, line 63 still refers to “a gRPC endpoint of a validator (core) node.” For clarity and consistency with the PR objectives, update line 63 to reference “Celestia Core node” exclusively.

🧹 Nitpick comments (2)
how-to-guides/snapshots.md (1)

23-25: Refine Redundant Terminology

The updated bullet reads “Consensus nodes (including validators) that only need recent state to participate in consensus.” There is a slight repetition of “consensus” that could be clarified. For example, consider rephrasing to something like “that only need recent state for consensus operations” to avoid redundancy.

🧰 Tools
🪛 LanguageTool

[duplication] ~23-~23: Possible typo: you repeated a word.
Context: ...nly need recent state to participate in consensus - Consensus nodes that don't need complete historic...

(ENGLISH_WORD_REPEAT_RULE)


[grammar] ~24-~24: Did you mean “to complete”?
Context: ...ensus - Consensus nodes that don't need complete historical data - Users who want to get...

(NEEDNT_TO_DO_AND_DONT_NEED_DO)

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

115-117: Remove Port Information Duplication

The text redundantly repeats the port information in the parenthetical. Line 115 introduces “(which is usually exposed on port 9090):” and line 116 repeats the same information. Removing the duplicate phrasing on line 116 will improve clarity.

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 40ecd9f and 5fb9b64.

📒 Files selected for processing (4)
  • how-to-guides/bridge-node.md (1 hunks)
  • how-to-guides/celestia-app.md (1 hunks)
  • how-to-guides/full-storage-node.md (1 hunks)
  • how-to-guides/snapshots.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
how-to-guides/snapshots.md

[duplication] ~23-~23: Possible typo: you repeated a word.
Context: ...nly need recent state to participate in consensus - Consensus nodes that don't need complete historic...

(ENGLISH_WORD_REPEAT_RULE)

🔇 Additional comments (1)
how-to-guides/celestia-app.md (1)

20-21: Terminology Clarification is Correct

The change updates the description to “consensus nodes — including validators” which clearly conveys that celestia-app supports multiple node types. Please ensure that this phrasing remains consistent across all related documents.

@jcstein jcstein added the documentation Improvements or additions to documentation label Apr 14, 2025
@jcstein jcstein requested a review from Copilot April 14, 2025 15:19
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.

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

Comment thread how-to-guides/full-storage-node.md Outdated
Comment thread how-to-guides/bridge-node.md Outdated
@jcstein
Copy link
Copy Markdown
Member

jcstein commented Apr 14, 2025

@gabrielaugz can you please use "consensus node" instead of both consensus/core? also please review copliots comments and I'll review after

@gabrielaugz
Copy link
Copy Markdown
Contributor Author

@gabrielaugz can you please use "consensus node" instead of both consensus/core? also please review copliots comments and I'll review after

I am going to work on it and upload a new commit!

@jcstein
Copy link
Copy Markdown
Member

jcstein commented Apr 14, 2025

does this cover the whole codebase?

@jcstein jcstein self-requested a review April 14, 2025 21:46
@gabrielaugz
Copy link
Copy Markdown
Contributor Author

gabrielaugz commented Apr 15, 2025

does this cover the whole codebase?

Hey! I believe I have reviewed all .md files:

bridge-node.md
celestia-app.md
full-storage-node.md
snapshots.md
light-node.md (just updated in the latest commit)

I also reviewed the other files where "validator node" appears — including consensus-node.md, instantiate-testnet.md, and validator-node.md — and confirmed that their usage is technically accurate.

Copy link
Copy Markdown
Member

@jcstein jcstein left a comment

Choose a reason for hiding this comment

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

the existing changes LGTM, but after checking have found a few cases that I think should be changed to "consensus node" or clarified, some of these (like ones at end in consensus-node.md), may not need change

@gabrielaugz
Copy link
Copy Markdown
Contributor Author

I'm going to work on it!

@jcstein
Copy link
Copy Markdown
Member

jcstein commented Apr 17, 2025

awesome!

Signed-off-by: gabrielaugz <95982237+gabrielaugz@users.noreply.github.com>
Copy link
Copy Markdown
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 (1)
how-to-guides/mainnet.md (1)

107-109: Refine wording for clarity
The phrase "with authentication of endpoints" is slightly awkward. Consider rephrasing to "with authenticated endpoints" for a more natural reading:

- If you are using QuickNode or another provider with authentication of endpoints,
+ If you are using QuickNode or another provider with authenticated endpoints,
  see [the light node guide](/how-to-guides/light-node.md#optional-start-light-node-with-consensus-node-endpoint-with-authentication)
  to learn how to use an endpoint with x-token.
📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 96c048d and fde9eae.

📒 Files selected for processing (8)
  • how-to-guides/bridge-node.md (3 hunks)
  • how-to-guides/celestia-node-troubleshooting.md (1 hunks)
  • how-to-guides/config-toml.md (2 hunks)
  • how-to-guides/consensus-node.md (1 hunks)
  • how-to-guides/full-storage-node.md (3 hunks)
  • how-to-guides/light-node.md (2 hunks)
  • how-to-guides/mainnet.md (1 hunks)
  • tutorials/node-tutorial.md (3 hunks)
✅ Files skipped from review due to trivial changes (5)
  • how-to-guides/consensus-node.md
  • how-to-guides/celestia-node-troubleshooting.md
  • how-to-guides/light-node.md
  • how-to-guides/config-toml.md
  • tutorials/node-tutorial.md
🚧 Files skipped from review as they are similar to previous changes (2)
  • how-to-guides/bridge-node.md
  • how-to-guides/full-storage-node.md
🔇 Additional comments (1)
how-to-guides/mainnet.md (1)

108-109:

Details

✅ Verification successful

Verify the updated anchor slug matches the target header
Ensure the link fragment #optional-start-light-node-with-consensus-node-endpoint-with-authentication corresponds exactly to a header ID in light-node.md. Otherwise, the link will break.


🏁 Script executed:

#!/bin/bash
# Verify the anchor slug exists in the light-node guide
rg -n 'optional-start-light-node-with-consensus-node-endpoint-with-authentication' how-to-guides/light-node.md

Length of output: 110


To determine the correct header slug, let’s list all headings in how-to-guides/light-node.md:


🏁 Script executed:

#!/bin/bash
# List all markdown headings in the light-node guide
rg -n '^#{1,6} ' how-to-guides/light-node.md

Length of output: 636


Anchor slug is correct
The fragment #optional-start-light-node-with-consensus-node-endpoint-with-authentication matches the header
### Optional: start light node with consensus node endpoint with authentication
on line 180 of how-to-guides/light-node.md. No changes needed.

@gabrielaugz
Copy link
Copy Markdown
Contributor Author

gabrielaugz commented Apr 18, 2025

Hey! I updated the first sentence under line 355 in consensus-node.md to clarify that it’s referring to the consensus node context.

The rest of the section already uses the right technical language and clearly points to validator node files like priv_validator_state.json, so I didn’t see a need for further edits. Let me know if you think anything else needs tweaking.

edit: I have already updated with coderabbit suggestion

Signed-off-by: gabrielaugz <95982237+gabrielaugz@users.noreply.github.com>
@jcstein
Copy link
Copy Markdown
Member

jcstein commented Apr 22, 2025

lgtm, thank you @gabrielaugz !

@jcstein jcstein merged commit 3d85f4a into celestiaorg:main Apr 22, 2025
2 checks passed
@coderabbitai coderabbitai bot mentioned this pull request Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants