docs: forward-port #21687 to main (v3.5 flag updates + Fundamentals docs)#21765
Merged
Conversation
…ocs) Ports the docs changes merged to release/3.5 in #21687 onto main. Verified against origin/main source (per the dual-commit rule): all documented flags and defaults exist on main — snap.chaintoml-url, snap.p2p-manifest, the seven exec.* flags, EXEC3_PARALLEL=true, exec.workers Value=NumCPU()/2. Includes: new Snapshots Management page (real mainnet-archive seg du output); EIP-8252 retention-window note in pruning-modes.md; new/updated flags in the CLI Reference (--snap.chaintoml-url, --snap.p2p-manifest, --exec.* incl. serial/no-prune/batched-io/state-cache); CLI Reference flattened (configuring-erigon/index.mdx -> configuring-erigon.mdx, URL unchanged); NAT moved to a top-level page with a @docusaurus/plugin-client-redirects redirect from the old URL; TLS cert filename typo fix; Fundamentals sidebar reorder; mobile theme-color. llms.txt/llms-full.txt regenerated. Build passes onBrokenLinks. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
yperbasis
approved these changes
Jun 12, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Forward-ports documentation updates from release/3.5 to main, aligning Fundamentals + CLI reference docs with newer snapshot-management tooling, pruning semantics (EIP-8252 retention window), and additional v3.5-related flags/behavior.
Changes:
- Adds a new Snapshots Management Fundamentals page documenting
erigon seg duoutput, JSON schema, and v3.5 snapshot upgrade implications. - Updates Pruning Modes (v3.5 breaking-change note) and expands CLI Reference with snapshot-discovery flags (
snap.*) and execution tuning flags (exec.*), plus NAT URL relocation. - Restructures Fundamentals sidebar ordering, introduces a client-side redirect for the NAT page move, and regenerates
llms*.txtartifacts.
Reviewed changes
Copilot reviewed 30 out of 33 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| llms.txt | Updates the top-level LLM index to reflect new/reordered Fundamentals pages and moved NAT URL. |
| llms-full.txt | Regenerates the full LLM artifact with updated docs content/order (snapshots, pruning, NAT, CLI reference, etc.). |
| docs/site/static/llms.txt | Updates the docs-site static copy of llms.txt to match the root artifact. |
| docs/site/package.json | Adds @docusaurus/plugin-client-redirects dependency for preserving old NAT URL. |
| docs/site/package-lock.json | Locks the new Docusaurus redirects plugin dependency. |
| docs/site/docusaurus.config.ts | Configures a redirect from /fundamentals/configuring-erigon/nat → /fundamentals/nat. |
| docs/site/docs/get-started/installation/upgrading.md | Fixes snapshot subcommand spelling/paths in upgrade instructions and updates snapshot upgrade/downgrade commands. |
| docs/site/docs/fundamentals/web3-wallet.md | Adjusts sidebar ordering. |
| docs/site/docs/fundamentals/tls-authentication.md | Fixes RPC cert filename typos and adjusts sidebar ordering. |
| docs/site/docs/fundamentals/supported-networks.md | Adjusts sidebar ordering. |
| docs/site/docs/fundamentals/snapshots-management.mdx | New page documenting snapshot disk usage reporting (seg du) and upgrade considerations. |
| docs/site/docs/fundamentals/security.md | Adjusts sidebar ordering. |
| docs/site/docs/fundamentals/pruning-modes.md | Adds v3.5 breaking-change note for EIP-8252 retention window; adjusts sidebar ordering. |
| docs/site/docs/fundamentals/performance-tricks.md | Adjusts sidebar ordering. |
| docs/site/docs/fundamentals/otterscan.md | Adjusts sidebar ordering. |
| docs/site/docs/fundamentals/optimizing-storage.md | Adjusts sidebar ordering. |
| docs/site/docs/fundamentals/nat.md | Moves NAT doc to a top-level Fundamentals page (sidebar reorder). |
| docs/site/docs/fundamentals/modules/index.mdx | Reorders modules landing doc within sidebar. |
| docs/site/docs/fundamentals/modules/category.json | Repositions the Modules category in Fundamentals sidebar. |
| docs/site/docs/fundamentals/mcp.mdx | Adjusts sidebar ordering. |
| docs/site/docs/fundamentals/logs.md | Adjusts sidebar ordering. |
| docs/site/docs/fundamentals/layer-2-networks.md | Adjusts sidebar ordering. |
| docs/site/docs/fundamentals/jwt.md | Adjusts sidebar ordering. |
| docs/site/docs/fundamentals/index.mdx | Adjusts Fundamentals landing position in sidebar. |
| docs/site/docs/fundamentals/docker-compose.md | Adjusts sidebar ordering. |
| docs/site/docs/fundamentals/default-ports.md | Adjusts sidebar ordering. |
| docs/site/docs/fundamentals/database.md | Adjusts sidebar ordering. |
| docs/site/docs/fundamentals/creating-a-dashboard.md | Adjusts sidebar ordering. |
| docs/site/docs/fundamentals/configuring-erigon/category.json | Removes the old CLI Reference category file due to CLI reference flattening. |
| docs/site/docs/fundamentals/configuring-erigon.mdx | Expands CLI reference with snap.* and exec.* flags; updates NAT link target; removes stray editorial line. |
| docs/site/docs/fundamentals/caplin.md | Adjusts sidebar ordering. |
| docs/site/docs/fundamentals/architecture.md | Fixes Mermaid flowchart edge label quoting; adjusts sidebar ordering. |
Files not reviewed (1)
- docs/site/package-lock.json: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
The upgrading guide described `erigon snapshots reset` as reusing existing data, but per main's reset.Reset.Run() (db/datadir/reset/reset.go) it deletes chaindata/ (plus Heimdall/Polygon-bridge DBs) and resets snapshots/ to the preverified set, then re-downloads (`--local` defaults to true). Correct the description, fix the misleading "reuse existing data" step, and add a data-loss warning. (Pre-existing text; fixing here in the port and via a matching release/3.5 PR so both branches stay in sync.) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…review) Per decideRemove() in db/datadir/reset/reset.go, reset keeps preverified snapshot files already on disk and only removes unknown/locally generated files and mismatched torrents; the next start downloads only missing or incorrect snapshots (not a full re-download). Reword the description and warning accordingly. chaindata/ is still deleted unconditionally. Mirrors the same fix on the release/3.5 PR. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
bloxster
pushed a commit
that referenced
this pull request
Jun 12, 2026
The Upgrading guide described `erigon snapshots reset` as reusing existing data, but per `reset.Reset.Run()` (db/datadir/reset/reset.go) it deletes chaindata/ (plus Heimdall/Polygon-bridge DBs) and removes non-preverified / mismatched snapshot files, keeping preverified snapshots already on disk; the next start downloads only missing or incorrect snapshots. Correct the description, fix the misleading "reuse existing data" step, and add a data-loss warning. (Flagged by Copilot; matches the same fix on the main port #21765.) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
AskAlexSharov
pushed a commit
that referenced
this pull request
Jun 13, 2026
…21766) The Upgrading guide described `erigon snapshots reset` as reusing existing data, but per `reset.Reset.Run()` (`db/datadir/reset/reset.go`) it **deletes `chaindata/`** (plus the Heimdall / Polygon-bridge DBs) and resets `snapshots/` to the preverified set, then re-downloads (`--local` defaults to `true`). Corrects the `reset` description, removes the misleading "reuse existing data" step, and adds a data-loss warning recommending `update-to-new-ver-format` when you want to keep your data. Flagged by Copilot on #21765 (the main forward-port); applying the same fix here so release/3.5 and main stay in sync. Build passes `onBrokenLinks` / `onBrokenAnchors`; `llms.txt` / `llms-full.txt` regenerated. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Bloxster <gianni.morselli@erigon.tech> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
pull Bot
pushed a commit
to Dustin4444/erigon
that referenced
this pull request
Jun 13, 2026
…gontech#21772) Main counterpart of erigontech#21763 (which added the same cross-links on release/3.5). Now that erigontech#21765 (the erigontech#21687 forward-port) has merged, the flattened CLI Reference page and its link targets exist on `main`, so this applies cleanly. Adds one cross-link per section of the **CLI Reference** (`configuring-erigon`) to its dedicated page — in the section explainer where possible, or on the most relevant flag. One link per target, no duplicates of the links already present (nat / supported-networks / pruning-modes / eth_getProof). **Explainer links:** Database, Snapshots Management, TxPool, Default Ports, Interacting with Erigon (RPC), MCP, Logs, Sentry, Downloader, Caplin, Shutter Network, Docker Compose. **Targeted flag links:** JWT (on `--authrpc.jwtsecret`), Creating a dashboard (on `--metrics`). Build passes the `onBrokenLinks: 'throw'` check; `llms.txt` / `llms-full.txt` regenerated. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Bloxster <gianni.morselli@erigon.tech> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Forward-ports the docs changes merged to
release/3.5in #21687 ontomain.Verified against
origin/mainsource per the dual-commit rule — all documented flags/defaults exist on main:snap.chaintoml-url,snap.p2p-manifest, the sevenexec.*flags,EXEC3_PARALLEL=true, andexec.workersValueNumCPU()/2(same "half"--helptext, so the doc's effective-default note applies identically).Includes:
seg du) with real mainnet-archive outputpruning-modes.md--snap.chaintoml-url,--snap.p2p-manifest, and the--exec.*flags (serial / no-prune / batched-io / state-cache), with the--exec.workerseffective-default clarificationconfiguring-erigon/index.mdx→configuring-erigon.mdx;/fundamentals/configuring-erigonURL unchanged)@docusaurus/plugin-client-redirectsllms.txt/llms-full.txtregenerated; build passesonBrokenLinks: 'throw'🤖 Generated with Claude Code