Skip to content

docs: add foundation delegation page and redirect for it#2336

Merged
jcstein merged 3 commits intodocs-glow-upfrom
jcs/delegation
Dec 11, 2025
Merged

docs: add foundation delegation page and redirect for it#2336
jcstein merged 3 commits intodocs-glow-upfrom
jcs/delegation

Conversation

@jcstein
Copy link
Copy Markdown
Member

@jcstein jcstein commented Dec 10, 2025

Overview

@jcstein jcstein changed the base branch from main to docs-glow-up December 10, 2025 17:46
@jcstein jcstein requested a review from gbarros December 10, 2025 17:46
@jcstein jcstein self-assigned this Dec 10, 2025
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @jcstein, 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 represents a substantial upgrade to the documentation infrastructure, transitioning from VitePress to Nextra to provide a more modern, interactive, and maintainable platform. The changes encompass a complete restructuring of content, the introduction of dynamic API documentation with an interactive playground, and the addition of new, critical information regarding private blockspace. This migration aims to improve the overall user experience and streamline future documentation efforts, ensuring that users can quickly find and interact with the information they need.

Highlights

  • Documentation Platform Migration: The entire documentation site has been migrated from VitePress to Nextra, a Next.js-based framework, involving a complete overhaul of the underlying structure and build process.
  • Content Reorganization: The documentation content has been thoroughly reorganized into new top-level categories: 'Learn', 'Build', and 'Operate', each with its own structured navigation defined by new _meta.js files.
  • Enhanced RPC Documentation: A new, dynamic, and interactive RPC documentation section has been introduced, featuring components for API exploration, parameter details, and a live playground for testing RPC methods.
  • New Private Blockspace Content: Comprehensive documentation on 'Private Blockspace' has been added, covering its conceptual overview, mechanisms for submitting and retrieving encrypted data, verifiable encryption, practical use cases, and a quickstart guide.
  • Updated Go Client Tutorial: A detailed Go client tutorial has been added, guiding users through blob submission and retrieval, balance checks, and advanced transaction submission modes like queued and parallel processing.
  • Git Hooks Refactoring: The .husky git hooks have been refactored, removing previous commit-msg and pre-commit hooks and introducing a new pre-push hook to enforce linting before code is pushed.
  • Updated .gitignore: The .gitignore file has been significantly expanded to include new entries relevant to Next.js/Nextra development, such as .next/, out/, .pnpm, and generated search index files.
Ignored Files
  • Ignored by pattern: .github/workflows/** (8)
    • .github/workflows/build.yml
    • .github/workflows/deploy.yml
    • .github/workflows/latest_tags.yml
    • .github/workflows/link-check.yml
    • .github/workflows/lint.yaml
    • .github/workflows/preview.yaml
    • .github/workflows/preview.yml
    • .github/workflows/spellcheck.yml
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 introduces a new documentation page for the Celestia Foundation Delegation Program, enhancing the project's documentation. It includes updates to the navigation metadata, adds a necessary redirect for the new page, and correctly resolves a hardcoded localhost URL in the main landing page, which is a significant improvement for production readiness. The new documentation page is comprehensive, but some minor clarifications and structural improvements could enhance readability and precision.

Comment thread app/page.mdx
</Link>

<Link href="http://localhost:4269/operate/getting-started/overview/" style={{
<Link href="/operate/getting-started/overview/" style={{
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

high

Excellent catch! Removing the hardcoded http://localhost:4269 URL is critical for ensuring the link functions correctly in production environments. Hardcoding local development URLs can lead to broken links and a poor user experience once deployed.

Comment thread app/_meta.js
@@ -1,19 +1,17 @@
const meta = {
index: 'Home',
index: "Home",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

While changing single quotes to double quotes is a stylistic preference, it's good to maintain consistency across the codebase. If there's a project-wide style guide for JavaScript, it's best to adhere to it. Otherwise, pick one and stick with it.

Comment thread app/_meta.js
title: "Operate",
type: "page",
},
};
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Adding a semicolon here improves consistency with the rest of the file and common JavaScript practices. It's a good stylistic improvement.

Comment on lines +37 to +41
| Cohort | Cohort Size | Delegation Duration | Renewal By Cohort |
| -------- | ----------- | ------------------- | ----------------- |
| Cohort 5 | 15 | 12 months | Cohort 8 |
| Cohort 6 | 15 | 12 months | Cohort 9 |
| Cohort 7 | 20 | 12 months | Cohort 10 |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The table currently lists Cohort 5, 6, and 7. However, the 'Cohort information' section later in the document lists Cohort 1 through 6 with specific application dates. This might cause confusion regarding which cohorts are active or relevant. Consider either making this table more generic (e.g., 'Example Cohort Structure') or aligning it with the full list provided later, perhaps by showing the current or upcoming cohorts.


The minimum requirements for participation in the program are as follows:

- Run an active Mainnet Beta validator **or** an active Mocha testnet validator for **at least 1 month before application deadline**
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The phrasing "at least 1 month before application deadline" could be slightly clearer. Consider rephrasing to "at least one month prior to the application deadline" for improved precision.

- Run an active Mainnet Beta validator **or** an active Mocha testnet validator for **at least 1 month before application deadline"
+ Run an active Mainnet Beta validator **or** an active Mocha testnet validator for **at least one month prior to the application deadline"

- Run an active Mainnet Beta validator **or** an active Mocha testnet validator for **at least 1 month before application deadline**
- Run an archival bridge node (on Mainnet Beta if you are already an active Mainnet Beta validator or on Mocha testnet if not) that is connected and reporting to the Celestia Labs [OTEL collector](/how-to-guides/celestia-node-metrics.md) (for new applicants - on testnet, so that we can evaluate performance)
- Not jailed more than once in the 6 months before application deadline
- If jailed more than once in the 6 months period before application deadline, then we require a public forum post with detailed post mortem and we consider case by case
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

This sentence is a bit long and could be rephrased for better clarity and formality. "we consider case by case" is somewhat informal for documentation. Consider something like: "If jailed more than once in the 6-month period prior to the application deadline, a public forum post with a detailed post-mortem is required, and applications will be reviewed on a case-by-case basis."

- If jailed more than once in the 6 months period before application deadline, then we require a public forum post with detailed post mortem and we consider case by case
+ If jailed more than once in the 6-month period prior to the application deadline, a public forum post with a detailed post-mortem is required, and applications will be reviewed on a case-by-case basis.

- Not based within the US, within any country subject to economic sanctions, or within any other prohibited jurisdiction, and successfully complete a compliance screen
- Dedicated email address so that the Foundation can reach you in the event of emergency upgrades and fixes
- Maintain a fully archival (non-pruned) bridge node for both Mainnet Beta and Mocha if selected for the program
- Not running your infrastructure in Hetzner or OVH
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The restriction "Not running your infrastructure in Hetzner or OVH" is very specific. It would be beneficial for transparency and user understanding to briefly explain the rationale behind this restriction, or link to a document that provides this explanation.

- Getting slashed/tombstoned (cannot apply for 1 year afterwards)
- Getting jailed more than once during the cohort’s applicable delegation period
- Violating the [Celestia.org Community Code of Conduct](/community/coc.md) or engaging in harmful activities towards the network
- Failing to upgrade your node in a timely manner (24 hours or less)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The phrase "24 hours or less" can be more concisely and commonly expressed as "within 24 hours".

- Failing to upgrade your node in a timely manner (24 hours or less)
+ Failing to upgrade your node in a timely manner (within 24 hours)

- Infrastructure
- Validator address and bridge node ID on Mainnet Beta
- If you don't run an active Mainnet Beta validator, please provide us with validator address, bridge node ID on Mocha-4
- Have you been slashed or jailed in the last 6 months on Celestia or other chains you validated on.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

This item is phrased as a question, "Have you been slashed or jailed...", but it's part of a list of information applicants should be ready to share. It would be more consistent to rephrase it as a data point to provide, for example: "History of slashing or jailing in the last 6 months on Celestia or other chains validated on."

- Have you been slashed or jailed in the last 6 months on Celestia or other chains you validated on.
+ History of slashing or jailing in the last 6 months on Celestia or other chains validated on.

- [Cohort 5](https://docs.google.com/spreadsheets/d/1Fxu9uYJ4wxfHChEiSg5bmXAMU8IZSq7J3GYDCFgk1HA/edit?gid=1471991269#gid=1471991269): 15 Validator Seats (Applications open June 1, 2025)
- [Cohort 6](https://docs.google.com/spreadsheets/d/1Fxu9uYJ4wxfHChEiSg5bmXAMU8IZSq7J3GYDCFgk1HA/edit?gid=1010270944): 15 Validator Seats (Applications open October 1, 2025)

IMPORTANT: Each validator selected for the program has to maintain a fully archival (non pruned) bridge node for both Mainnet Beta and Mocha.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The requirement to "maintain a fully archival (non pruned) bridge node for both Mainnet Beta and Mocha" is also stated in the Eligibility criteria (line 60). While emphasizing important points is good, consider if this repetition is necessary or if it could be rephrased to reference the earlier section, to avoid redundancy.

@jcstein jcstein merged commit b0bbc73 into docs-glow-up Dec 11, 2025
4 checks passed
@jcstein jcstein deleted the jcs/delegation branch December 11, 2025 18:39
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