Skip to content

Support multiple sequencer RPC endpoints for transaction forwarding #763

@brendontan03

Description

@brendontan03

Summary

Support configuring multiple sequencer RPC endpoints for op-geth with automatic failover when one endpoint is unavailable. Currently, --rollup.sequencerhttp only accepts a single URL; if that endpoint fails (e.g. CDN or regional outage), all transaction submission to the sequencer fails.

Rationale

  • Operators and third-party RPCs can only set one rollup.sequencer-http endpoint.
  • A single point of failure: if that RPC is down or unreachable, eth_sendRawTransaction (and any other sequencer-forwarded calls) will fail for all users.
  • There is no way to configure redundant official RPCs for higher availability.

Implementation

  • Allow multiple sequencer RPC URLs via a comma-separated value
  • Keep backward compatibility where a single URL continues to work

Failover behaviour

  • When forwarding a transaction (or other sequencer RPC call) to the current endpoint fails, automatically try the next configured endpoint.
  • Continue until one succeeds or all fail; then return the last error to the caller.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions