Skip to content

Conversation

@jclapis
Copy link
Collaborator

@jclapis jclapis commented Oct 22, 2025

SSV's default API URL in v0.9.0 is https://api.ssv.network/api/v4 (with no trailing slash), and Rust's URL joiner will interpret this as a file and discard it during join() operations. This fixes the issue where it matters (in fetch_ssv_pubkeys()) by ensuring that the end is always interpreted as a directory rather than a file.

We could also put checks on the initial config loader, since there's never really a valid reason to have an SSV API URL without a trailing slash as they're always going to be appended to, but either way this ensures that keys will always be fetched correctly.

@jclapis jclapis self-assigned this Oct 22, 2025
@jclapis jclapis added the pbs Pbs module / Builder API label Oct 22, 2025
@jclapis jclapis merged commit 073f054 into main Oct 22, 2025
2 checks passed
@jclapis jclapis deleted the fix-ssv-url-joiner branch October 22, 2025 14:29
nilsfs7 pushed a commit to nilsfs7/commit-boost-client that referenced this pull request Oct 27, 2025
nilsfs7 pushed a commit to nilsfs7/commit-boost-client that referenced this pull request Oct 27, 2025
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