Documentation
¶
Overview ¶
Package el is the single construction seam for op-e2e's L2 execution layer. It selects between in-process op-geth and external-process op-reth based on the requested ELKind, so call sites never construct an EL backend directly. It lives apart from the geth/reth/services packages to avoid an import cycle.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type L2Config ¶
type L2Config struct {
Kind services.ELKind
Name string
Genesis *core.Genesis
JWTPath string
Logger log.Logger
// SequencerHTTP, when set, points non-sequencer nodes at the sequencer for
// tx forwarding. On op-reth it maps to --rollup.sequencer-http.
SequencerHTTP string
// DataDir is the op-reth base directory. Callers must pass t.TempDir() so the
// test framework owns cleanup. Ignored by the in-process op-geth backend.
DataDir string
// GethOptions are op-geth-only knobs. They cannot apply to op-reth; passing
// any on the op-reth path is a hard error (see InitL2).
GethOptions []geth.GethOption
}
L2Config carries everything needed to construct an L2 EL backend.
Click to show internal directories.
Click to hide internal directories.