Skip to content

feat(pbs): let a mux override proposer_deadline_buffer_ms - #510

Open
JasonVranek wants to merge 1 commit into
epbs-pr2from
epbs-mux-buffer
Open

JasonVranek wants to merge 1 commit into
epbs-pr2from
epbs-mux-buffer

Conversation

@JasonVranek

@JasonVranek JasonVranek commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Builds on #506.

A [[mux]] can now set proposer_deadline_buffer_ms for the keys it lists, as it already can timeout_get_header_ms and late_in_slot_time_ms. A key outside every mux keeps the [pbs] value. The mux's value has the same limits as [pbs]: above 0 and under one slot, checked when the config loads.

[[mux]]
id = "remote-vcs"
validator_pubkeys = ["0x..."]
proposer_deadline_buffer_ms = 200

[[mux.relays]]
id = "relay-a"
url = "https://0x...@relay-a.example.com"

Changes

  • MuxConfig takes an optional proposer_deadline_buffer_ms, filled from [pbs] when unset, like the two existing overrides.
  • A mux that fails its config checks is named in the error (mux <id>: ...), and the warning for a bid request with no time left after the buffer names the buffer and the mux.
  • Docs: the ePBS page (including the buffer's troubleshooting row, which now covers a mux), the mux key loaders page (which also said a mux affects only get_header) and config.example.toml.
  • The mux test helper builds its mux through validate_and_fill, so the override and its limits run as they do in production. wait_for_ready gets back the doc comment that feat(pbs): dial builders outside the config for ePBS requests #506 left on MuxedRelays.

A mux already overrides timeout_get_header_ms and late_in_slot_time_ms
for its keys. proposer_deadline_buffer_ms joins them, with the same
limits as in [pbs]: above 0 and under one slot. A mux that fails those
limits is named in the error, and the warning for a bid request with no
time left names the buffer and the mux.

The mux test helper builds its mux through validate_and_fill, so the new
test runs the fill, its limit check and the bid route reading the mux's
value. wait_for_ready gets back its doc comment.

This branch has not been deployed

No deployments
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.

1 participant