Skip to content

Conversation

jclapis
Copy link
Collaborator

@jclapis jclapis commented Jul 24, 2025

This PR allows the config to have an empty / non-present [[relays]] list for situations where starting PBS isn't needed, such as generating the Docker compose file with the CLI's init action. Down the line when a config can be created for just the signer without PBS, this will be important as well. Ensuring the relay list has at least one entry is now done in load_pbs_config(), which is part of starting the actual PBS service.

@jclapis jclapis requested a review from ltitanb July 24, 2025 06:14
@jclapis jclapis self-assigned this Jul 24, 2025
@jclapis jclapis added the core Core part of the repo (signer, modules interface) label Jul 24, 2025
Copy link
Collaborator

@ltitanb ltitanb left a comment

Choose a reason for hiding this comment

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

lgtm

@ltitanb ltitanb merged commit 1458617 into main Jul 24, 2025
2 checks passed
@ltitanb ltitanb deleted the allow-empty-relays branch July 24, 2025 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core part of the repo (signer, modules interface)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants