This is a test service for block sequencing. This service is in active development.
# from op-test-sequencer dir:
just op-test-sequencer
./bin/op-test-sequencer --help# from op-test-sequencer dir:
go run ./cmd --helpNot available yet.
This service is in active development.
See design doc for design considerations.
On the configured RPC address/port multiple HTTP routes are served, each serving RPCs. Every RPC is authenticated with a JWT-secret. For every route, both HTTP and Websocket RPC connections are supported.
The main RPC is served on the root path / of the configured RPC host/port.
Work in progress.
Types:
BuilderID: string, identifies a builder by its configured nameBuildJobID: string, identifies a build jobBuildOpts:{parent: hash, l1Origin: hash,optional}(work in progress, will be extended)Block: block, a JSON object, as defined by the builder
Methods:
build_open(id: BuilderID, opts: BuildOpts) -> BuildJobIDbuild_cancel(jobID: BuildJobID)build_seal(jobID: BuildJobID) -> Block
/sequencers/{sequencerID} serves an RPC (Both HTTP and Websocket)
Actively changing. Methods to run through each part of the sequencing flow.
See sequencer/frontend/sequencer.go.