Repository navigation
feat(pbs): a switch to turn off dialing, and a 20 ms ePBS buffer default - #511
Merged
Merged
Conversation
…nfig `dial_unconfigured_builders` (default true) controls whether an ePBS bid or builder preferences request whose auth data matches no relay entry is dialed. With it off, mux relays and `[[relays]]` still serve as before, and any other auth data gets a 400 without a builder being asked.
…nts say why A builder listed only in another mux's relays is still refused with dialing off, so the docs name the key's relay entries rather than any relay entry. The dial-off tests skip the address check so that only the switch can stop the dial, and the unit test drops an assert another one covers.
… of setup Commit-Boost's own share of the buffer is a few milliseconds on a release build, so 20 suits a beacon node on the same host. The setting stays for setups where the beacon node runs on another host, where the response's trip back and any clock difference between the hosts come out of the buffer. Setup no longer asks for it; the Timing section says when to raise it.
0.23.46 is inside the 14-day publish-age cooldown, so this uses just update-allow. Cargo also moves tempfile's getrandom from 0.4.3 to 0.3.4; both were already in the lock, and tempfile is used only by build scripts and tests.
JasonVranek
force-pushed
the
epbs-dial-switch
branch
from
October 14, 2026 16:20
c76bf13 to
601b744
Compare
vladimir-ea
approved these changes
Oct 14, 2026
ManuelBilbao
approved these changes
Oct 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two ePBS config follow-ups to #506:
[pbs] dial_unconfigured_buildersswitch that turns off dialing builders outside the config, from the review ondial.rs.proposer_deadline_buffer_msdefaults to20instead of50, and setup no longer asks for it as the first config item to change.Dial switch
Since #506, an ePBS bid or builder preferences request whose
auth_datamatches none of the key's relay entries in the Commit-Boost config is dialed at the builder thatauth_dataspecifies.dial_unconfigured_builderslets an operator turn that off and keep Commit-Boost only to the builders in its config.The default is
true, which keeps #506's behaviour. The switch applies to the whole instance - there's no per-mux override.When it is off:
[[relays]]serve requests exactly as before.auth_datadoesn't match any of the key's relay entries gets400"auth.message.data does not match any configured builder". Commit-Boost logs a warning with theauth_data.400, so the only difference is the log line.Buffer default
Commit-Boost's own share of the buffer is a few milliseconds on a release build. Measured with a relay that never answers, it used 1.8 ms p50, 2.9 ms p99 and 3.7 ms at most, over 3000 requests. About 2 ms of that is millisecond rounding.
So
20suits a beacon node on the same host. The setting stays for a beacon node on another host, where the response's trip back and any clock difference between the hosts come out of the buffer.