Skip to content

cmd/exit_sign: warn on validators with pending deposits - #4702

Open
KaloyanTanev wants to merge 1 commit into
mainfrom
kalo/exit-sign-warn-pending-deposits
Open

KaloyanTanev wants to merge 1 commit into
mainfrom
kalo/exit-sign-warn-pending-deposits

Conversation

@KaloyanTanev

Copy link
Copy Markdown
Collaborator

charon exit sign --all now warns when a cluster validator has a registered deposit in the beacon pending_deposits queue but no validator index yet, so no exit could be signed for it — these validators activate later via the queue and were otherwise silently skipped, leading to missed duties after the cluster exited. It also broadens signing to include pending_initialized validators, which already have an index and can be pre-signed (harmlessly skipped by broadcast until they activate). Wires the Electra PendingDeposits beacon API through eth2wrap. The pending-deposits check is best-effort and never blocks signing exits for the exitable validators.

category: bug
ticket: #4701

@KaloyanTanev KaloyanTanev self-assigned this Sep 16, 2026
@sonarqubecloud

Copy link
Copy Markdown

@KaloyanTanev KaloyanTanev changed the title cmd/exit_sign: warn on validators with pending deposits and no index cmd/exit_sign: warn on validators with pending deposits Sep 16, 2026
@codecov

codecov Bot commented Sep 16, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 68.08511% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 65.53%. Comparing base (2ab39d6) to head (253475b).

Files with missing lines Patch % Lines
app/eth2wrap/eth2wrap_gen.go 0.00% 14 Missing ⚠️
cmd/exit_sign.go 96.96% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4702   +/-   ##
=======================================
  Coverage   65.52%   65.53%           
=======================================
  Files         246      246           
  Lines       30062    30108   +46     
=======================================
+ Hits        19698    19730   +32     
- Misses      10363    10377   +14     
  Partials        1        1           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant