Skip to content

fix: reset slashing protection flags per key in validator-import loop#2617

Merged
yorickdowne merged 1 commit into
ethstaker:mainfrom
oksanaphmn:patch-2
May 22, 2026
Merged

fix: reset slashing protection flags per key in validator-import loop#2617
yorickdowne merged 1 commit into
ethstaker:mainfrom
oksanaphmn:patch-2

Conversation

@oksanaphmn
Copy link
Copy Markdown
Contributor

found_one and do_a_protec were never reset between loop iterations. When importing multiple keys, stale values from a previous key caused the no slashing protection warning to be silently suppressed and
sent slashing_protection: null to the keymanager API.

@yorickdowne
Copy link
Copy Markdown
Collaborator

Thank you for catching this. That was indeed broken since forever.

@yorickdowne yorickdowne merged commit 70d687b into ethstaker:main May 22, 2026
7 checks passed
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