Skip to content

Conversation

@jclapis
Copy link
Collaborator

@jclapis jclapis commented Sep 30, 2025

This is part of #382 and incorporates some additional user feedback. Basically, users want the PBS service to routinely query SSV or Lido when set up with muxes that use them as registries, and automatically support new pubkeys that get added to the corresponding operators. This PR adds that capability by:

  • Identifying the relevant registry muxes upon validation
  • Detecting on startup whether or not registry refreshing is required
  • Running a parallel task to the PBS service that occasionally locks the state, queries the registries, and adds any new pubkeys to the config's pubkey -> mux config HashMap.

Note this has a substantial rewrite of the SSV loader, including breaking the core structs out into a public module and a more robust mock of the SSV API server for testing.

@jclapis jclapis self-assigned this Sep 30, 2025
@jclapis jclapis added the pbs Pbs module / Builder API label Sep 30, 2025
@jclapis jclapis marked this pull request as ready for review October 7, 2025 21:03
ManuelBilbao
ManuelBilbao previously approved these changes Oct 13, 2025
jclapis and others added 2 commits October 20, 2025 08:11
Co-authored-by: ltitanb <163874448+ltitanb@users.noreply.github.com>
Co-authored-by: ltitanb <163874448+ltitanb@users.noreply.github.com>
@jclapis jclapis merged commit 3fb6327 into main Oct 21, 2025
3 checks passed
@jclapis jclapis deleted the registry-refreshing branch October 21, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pbs Pbs module / Builder API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants