Skip to content

Keep the Nimbus VC slashing protection DB across restarts - #491

Merged
KaloyanTanev merged 1 commit into
mainfrom
kalo/nimbus-keep-slashing-db
Oct 5, 2026
Merged

KaloyanTanev merged 1 commit into
mainfrom
kalo/nimbus-keep-slashing-db

Conversation

@KaloyanTanev

@KaloyanTanev KaloyanTanev commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

nimbus/run.sh ran rm -rf /home/user/data on every start, which also wiped the Nimbus VC's slashing protection DB (validators/slashing_protection.sqlite3). It now removes only the previously imported keys (secrets/ and validators/0x*) before re-importing them, matching charon-distributed-validator-cluster.

Before #490 the wipe mostly failed silently, because uid 1000 couldn't write to the root-owned ./data/vc-nimbus. Now that #490 hands that directory to uid 1000, it succeeds on every restart.

@KaloyanTanev KaloyanTanev self-assigned this Oct 5, 2026
@KaloyanTanev
KaloyanTanev force-pushed the kalo/nimbus-keep-slashing-db branch from b090b40 to 74be8ec Compare October 5, 2026 14:03
@sonarqubecloud

sonarqubecloud Bot commented Oct 5, 2026

Copy link
Copy Markdown

@KaloyanTanev
KaloyanTanev merged commit 4354ce4 into main Oct 5, 2026
4 checks passed
@KaloyanTanev
KaloyanTanev deleted the kalo/nimbus-keep-slashing-db branch October 5, 2026 14:04
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