Skip to content

CBST2-09: Add duplicate key removal to the Lido and SSV key fetchers #318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jclapis
Copy link
Collaborator

@jclapis jclapis commented Jun 3, 2025

This gracefully removes duplicate pubkeys from the Lido and SSV key fetchers without erroring out.

@jclapis jclapis self-assigned this Jun 3, 2025
ensure!(unique.len() == keys.len(), "found duplicate keys in registry");

// Remove duplicates
keys = remove_duplicate_keys(keys);
Copy link
Collaborator

Choose a reason for hiding this comment

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

let's move the dedup in MuxKeysLoader::load so that it's more future proof

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