Skip to content

db clear supported#710

Merged
m4sterbunny merged 7 commits intomainfrom
706-clr-beacon-db
Feb 26, 2026
Merged

db clear supported#710
m4sterbunny merged 7 commits intomainfrom
706-clr-beacon-db

Conversation

@m4sterbunny
Copy link
Copy Markdown
Contributor

@m4sterbunny m4sterbunny commented Feb 17, 2026

Fixes #706

Add CLI reference for --force-clear-db, and mention it in checkpoint-start, network troubleshooting, and migrate-database so users can clear the beacon DB on startup instead of deleting it manually.


Note

Low Risk
Documentation-only changes, but they describe a destructive DB-wipe flag and could cause data loss if misused or misread.

Overview
Adds CLI documentation for the new --force-clear-db option (including env var and config-file forms) and warns that it permanently deletes the beacon chain DB on startup.

Updates checkpoint sync, network troubleshooting, and manual DB migration docs to recommend clearing the beacon DB via --force-clear-db as an alternative to manually deleting beacon/db, with small wording/formatting tweaks and an added reminder to avoid deleting validator slashing-protection data.

Written by Cursor Bugbot for commit 53d49c6. This will update automatically on new commits. Configure here.

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
doc-teku Ready Ready Preview, Comment Feb 26, 2026 8:50am

Request Review

Signed-off-by: m4sterbunny <harrie.bickle-ext@consensys.net>
Signed-off-by: m4sterbunny <harrie.bickle-ext@consensys.net>
Comment thread docs/how-to/troubleshoot/network.md
Comment thread docs/how-to/troubleshoot/network.md Outdated
Comment thread docs/how-to/migrate-database.md Outdated
Comment thread docs/reference/cli/index.md Outdated
m4sterbunny and others added 2 commits February 25, 2026 10:43
Signed-off-by: m4sterbunny <harrie.bickle-ext@consensys.net>
Copy link
Copy Markdown
Contributor

@bgravenorst bgravenorst left a comment

Choose a reason for hiding this comment

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

lgtm

@m4sterbunny m4sterbunny requested a review from a team as a code owner February 26, 2026 08:49
@m4sterbunny m4sterbunny merged commit 5f8f893 into main Feb 26, 2026
14 of 15 checks passed
@m4sterbunny m4sterbunny deleted the 706-clr-beacon-db branch February 26, 2026 08:58
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clear beacon database on startup

3 participants