Directories
¶
| Path | Synopsis |
|---|---|
|
batch-submitter
module
|
|
|
bss-core
module
|
|
|
multicannon
command
|
|
|
docs
|
|
|
public-docs/scripts/gen-deploy-config
command
Command gen-deploy-config generates the MDX schema reference for the OP Stack DeployConfig — the flat JSON deployment configuration defined by the DeployConfig struct tree in op-chain-ops/genesis — so the docs schema reference is derived from the Go struct tags and doc comments instead of hand-transcribed.
|
Command gen-deploy-config generates the MDX schema reference for the OP Stack DeployConfig — the flat JSON deployment configuration defined by the DeployConfig struct tree in op-chain-ops/genesis — so the docs schema reference is derived from the Go struct tags and doc comments instead of hand-transcribed. |
|
public-docs/scripts/gen-flags
command
Command gen-flags generates MDX flag-reference tables for OP Stack Go services from their urfave/cli flag definitions, so the docs flag catalogs are derived from source instead of hand-transcribed from `--help` output.
|
Command gen-flags generates MDX flag-reference tables for OP Stack Go services from their urfave/cli flag definitions, so the docs flag catalogs are derived from source instead of hand-transcribed from `--help` output. |
|
endpoint-monitor
module
|
|
|
gas-oracle
module
|
|
|
go
|
|
|
batch-submitter
module
|
|
|
bss-core
module
|
|
|
gas-oracle
module
|
|
|
indexer
module
|
|
|
l2geth-exporter
module
|
|
|
op-exporter
module
|
|
|
op_exporter
module
|
|
|
proxyd
module
|
|
|
stackman
module
|
|
|
teleportr
module
|
|
|
indexer
module
|
|
|
l2geth
module
|
|
|
l2geth-exporter
module
|
|
|
linter
|
|
|
op-acceptance-tests
|
|
|
tests/custom_gas_token
op-acceptance-tests/tests/custom_gas_token/helpers.go
|
op-acceptance-tests/tests/custom_gas_token/helpers.go |
|
tests/loadtest
Package loadtest provides helpers for acceptance tests that put transaction load on a chain: funding many spammer EOAs (FundEOAs), rotating between them (RoundRobin), and schedules that decide how often to invoke a Spammer (Burst, Constant).
|
Package loadtest provides helpers for acceptance tests that put transaction load on a chain: funding many spammer EOAs (FundEOAs), rotating between them (RoundRobin), and schedules that decide how often to invoke a Spammer (Burst, Constant). |
|
tests/sdm/sdmtest
Package sdmtest holds reusable SDM acceptance-test building blocks: the fixed-policy producer and stock-verifier topology, a dense repeated-slot workload, and structural replay/refund RPC helpers.
|
Package sdmtest holds reusable SDM acceptance-test building blocks: the fixed-policy producer and stock-verifier topology, a dense repeated-slot workload, and structural replay/refund RPC helpers. |
|
cmd/daserver
command
|
|
|
store
Package store provides altda.KVStore implementations backed by a local directory or an S3 bucket.
|
Package store provides altda.KVStore implementations backed by a local directory or an S3 bucket. |
|
op-batcher
module
|
|
|
cmd
command
|
|
|
op-bindings
module
|
|
|
op-chain-ops
module
|
|
|
cmd/check-jovian
command
|
|
|
cmd/check-karst
command
|
|
|
cmd/check-karst/karsttest
Package karsttest implements the post-Karst conformance checks shared between the op-acceptance-tests acceptance suite and the check-karst CLI.
|
Package karsttest implements the post-Karst conformance checks shared between the op-acceptance-tests acceptance suite and the check-karst CLI. |
|
cmd/check-lagoon
command
|
|
|
cmd/check-lagoon/sdmcheck
Package sdmcheck drives an SDM workload and validates the resulting PostExec block.
|
Package sdmcheck drives an SDM workload and validates the resulting PostExec block. |
|
cmd/check-output-root
command
|
|
|
cmd/check-prestate
command
|
|
|
cmd/check-review-period
command
|
|
|
cmd/check-review-period/reviewperiod
Package reviewperiod reads a chain's review period delays from L1.
|
Package reviewperiod reads a chain's review period delays from L1. |
|
cmd/check-super-root
command
|
|
|
cmd/deposit-hash
command
|
|
|
cmd/eth-liquidity-pause
command
Command eth-liquidity-pause inspects and drives the ETHLiquidity pause: the L2 mirror of an L1 SuperchainConfig pause that stops SuperchainETHBridge sends, relays and refunds.
|
Command eth-liquidity-pause inspects and drives the ETHLiquidity pause: the L2 mirror of an L1 SuperchainConfig pause that stops SuperchainETHBridge sends, relays and refunds. |
|
cmd/gnosis
command
|
|
|
cmd/interop-smoke
command
|
|
|
cmd/sdm-workload
command
|
|
|
cmd/unclaimed-credits
command
|
|
|
cmd/withdrawal
command
|
|
|
crossdomain
Package crossdomain provides libraries useful for managing L1 <> L2 cross domain communication.
|
Package crossdomain provides libraries useful for managing L1 <> L2 cross domain communication. |
|
interopbridge
Package interopbridge implements the canonical cross-chain ETH bridge used by the interop test tools (check-lagoon and interop-smoke): it sends ETH through the SuperchainETHBridge predeploy, relays the resulting message itself, and verifies the recipient was credited.
|
Package interopbridge implements the canonical cross-chain ETH bridge used by the interop test tools (check-lagoon and interop-smoke): it sends ETH through the SuperchainETHBridge predeploy, relays the resulting message itself, and verifies the recipient was credited. |
|
interopsmoke
Package interopsmoke implements interop smoke tests that run against the RPCs of two live interoperable L2 chains: chain identity, ETH transfers, cross-chain ETH bridging, and valid/invalid executing-message checks.
|
Package interopsmoke implements interop smoke tests that run against the RPCs of two live interoperable L2 chains: chain identity, ETH transfers, cross-chain ETH bridging, and valid/invalid executing-message checks. |
|
opcmregistry
Package opcmregistry provides utilities for loading OPCM (OP Contracts Manager) information from the superchain-registry.
|
Package opcmregistry provides utilities for loading OPCM (OP Contracts Manager) information from the superchain-registry. |
|
superroot
Package superroot computes the super root of a set of L2 chains from their execution clients.
|
Package superroot computes the super root of a set of L2 chains from their execution clients. |
|
cmd
command
|
|
|
op-conductor
|
|
|
cmd
command
|
|
|
op-core
|
|
|
fees
Package fees implements the OP-Stack L1 data-availability cost and operator-fee calculations.
|
Package fees implements the OP-Stack L1 data-availability cost and operator-fee calculations. |
|
fees/internal/cfastlz
Package cfastlz wraps the C FastLZ library, the original implementation that fees.FlzCompressLen, Solady's LibZip and op-revm port, so tests can compare them with it.
|
Package cfastlz wraps the C FastLZ library, the original implementation that fees.FlzCompressLen, Solady's LibZip and op-revm port, so tests can compare them with it. |
|
forks/test
Package test provides fork schedule helpers for tests of fork-aware configs.
|
Package test provides fork schedule helpers for tests of fork-aware configs. |
|
genesis
Package genesis holds the OP Stack L2 genesis specification and its JSON encoding.
|
Package genesis holds the OP Stack L2 genesis specification and its JSON encoding. |
|
nuts/state
Package state provides the frozen pre-fork L2 predeploy state artifacts that the NUT bundle activation test boots from.
|
Package state provides the frozen pre-fork L2 predeploy state artifacts that the NUT bundle activation test boots from. |
|
params
Package params holds the OP-Stack-specific chain configuration types.
|
Package params holds the OP-Stack-specific chain configuration types. |
|
superchain
Package superchain models the superchain-registry's configs and loads them from a registry bundle.
|
Package superchain models the superchain-registry's configs and loads them from a registry bundle. |
|
superchain/bundle
Package bundle is the superchain-registry built into the monorepo: it embeds superchain-configs.zip, which sync-superchain.sh builds from the superchain-registry submodule.
|
Package bundle is the superchain-registry built into the monorepo: it embeds superchain-configs.zip, which sync-superchain.sh builds from the superchain-registry submodule. |
|
types
Package types holds the OP-Stack-specific transaction and receipt types.
|
Package types holds the OP-Stack-specific transaction and receipt types. |
|
op-deployer
|
|
|
cmd/op-deployer
command
|
|
|
pkg/deployer/artifacts/bundle
Package bundle packs a built forge project into the contracts bundle that op-deployer runs forge on.
|
Package bundle packs a built forge project into the contracts bundle that op-deployer runs forge on. |
|
pkg/deployer/artifacts/cmd/mktar
command
|
|
|
op-devstack
|
|
|
dsl
Package dsl provides DSL (domain specific language) to interact with a devstack system.
|
Package dsl provides DSL (domain specific language) to interact with a devstack system. |
|
cmd
command
|
|
|
op-dripper
|
|
|
cmd
command
|
|
|
e2eutils/reth
Package reth runs op-reth as an external subprocess and exposes it as a services.EthInstance, so op-e2e can use op-reth as the L2 execution layer.
|
Package reth runs op-reth as an external subprocess and exposes it as a services.EthInstance, so op-e2e can use op-reth as the L2 execution layer. |
|
e2eutils/testengine
Package testengine runs op-reth-test-engine, the Rust OP Stack execution engine that Go tests drive over a Unix domain socket: it locates the binary, spawns it over a genesis file behind a typed client, and builds the minimal chains and blocks its own tests drive it with.
|
Package testengine runs op-reth-test-engine, the Rust OP Stack execution engine that Go tests drive over a Unix domain socket: it locates the binary, spawns it over a genesis file behind a typed client, and builds the minimal chains and blocks its own tests drive it with. |
|
e2eutils/testengine/chainfixture
Package chainfixture is a fixed test chain for driving a testengine process directly: a chain id, a chain config with every OP Stack fork active at genesis, a genesis writer and helpers that build blocks over the engine API.
|
Package chainfixture is a fixed test chain for driving a testengine process directly: a chain id, a chain config with every OP Stack fork active at genesis, a genesis writer and helpers that build blocks over the engine API. |
|
op-exporter
module
|
|
|
op-faucet
|
|
|
cmd
command
|
|
|
op-fetcher
|
|
|
chaininfo
Package chaininfo holds the chain configuration that op-fetcher reads from L1, in the shapes it is returned and serialized in.
|
Package chaininfo holds the chain configuration that op-fetcher reads from L1, in the shapes it is returned and serialized in. |
|
cmd
command
|
|
|
op-heartbeat
module
|
|
|
op-interop-filter
|
|
|
cmd
command
|
|
|
op-interop-mon
|
|
|
cmd
command
|
|
|
cmd
command
|
|
|
cmd/batch_decoder
command
|
|
|
cmd/interop-deposits-dump
command
Command interop-deposits-dump prints Interop activation deposits and upgrade gas; paired with the kona-hardforks `interop-deposits-dump` example for cross-language diffing.
|
Command interop-deposits-dump prints Interop activation deposits and upgrade gas; paired with the kona-hardforks `interop-deposits-dump` example for cross-language diffing. |
|
metrics
Package metrics provides a set of metrics for the op-node.
|
Package metrics provides a set of metrics for the op-node. |
|
rollup/derive
Package derive provides the data transformation functions that take L1 data and turn it into L2 blocks and results.
|
Package derive provides the data transformation functions that take L1 data and turn it into L2 blocks and results. |
|
rollup/sync
Package sync is responsible for reconciling L1 and L2.
|
Package sync is responsible for reconciling L1 and L2. |
|
superchain
Package superchain loads OP-Stack rollup configs and dependency sets from the superchain-registry.
|
Package superchain loads OP-Stack rollup configs and dependency sets from the superchain-registry. |
|
op-proposer
module
|
|
|
cmd
command
|
|
|
apis
Package apis provides Go interfaces for most RPC / HTTP APIs used in the OP-Stack.
|
Package apis provides Go interfaces for most RPC / HTTP APIs used in the OP-Stack. |
|
cliflags
Package cliflags holds custom urfave/cli flag value types that are shared across services.
|
Package cliflags holds custom urfave/cli flag value types that are shared across services. |
|
clock
Package clock provides an abstraction for time to enable testing of functionality that uses time as an input.
|
Package clock provides an abstraction for time to enable testing of functionality that uses time as an input. |
|
ctxinterrupt
Implements interrupts: events that normally signal intent to cancel a Context, but may be repeated to encourage closure of new Contexts used to clean up resources.
|
Implements interrupts: events that normally signal intent to cancel a Context, but may be repeated to encourage closure of new Contexts used to clean up resources. |
|
github/release
Package release provides helpers to download and verify binaries released on GitHub.
|
Package release provides helpers to download and verify binaries released on GitHub. |
|
ipc
Package ipc runs a child process that serves JSON-RPC on a Unix domain socket and dials it with go-ethereum's IPC client (newline-delimited JSON).
|
Package ipc runs a child process that serves JSON-RPC on a Unix domain socket and dials it with go-ethereum's IPC client (newline-delimited JSON). |
|
jsonrpc
Package jsonrpc defines JSON-RPC protocol types shared by RPC clients, servers and metrics.
|
Package jsonrpc defines JSON-RPC protocol types shared by RPC clients, servers and metrics. |
|
log
Package log is the monorepo's logging API: a Logger interface, its slog-backed implementation, and the global default logger.
|
Package log is the monorepo's logging API: a Logger interface, its slog-backed implementation, and the global default logger. |
|
log/logcli
Package logcli wires the logging package into urfave/cli applications: the log flags, the CLIConfig they parse into, the logger constructors that consume it, and the process-level logger setup a service performs at startup.
|
Package logcli wires the logging package into urfave/cli applications: the log flags, the CLIConfig they parse into, the logger constructors that consume it, and the process-level logger setup a service performs at startup. |
|
log/logfilter
Package logfilter provides a declarative log filtering framework for structured logging.
|
Package logfilter provides a declarative log filtering framework for structured logging. |
|
ptr
Package ptr provides helper functions for working with pointers.
|
Package ptr provides helper functions for working with pointers. |
|
sources
Package sources exports a number of clients used to access ethereum chain data.
|
Package sources exports a number of clients used to access ethereum chain data. |
|
testlog
Package testlog provides a log handler for unit tests.
|
Package testlog provides a log handler for unit tests. |
|
testutils/depguard
Package depguard provides test helpers to assert that a package's transitive build closure stays free of forbidden imports.
|
Package depguard provides test helpers to assert that a package's transitive build closure stays free of forbidden imports. |
|
tls
This file contains CLI and env TLS configurations that can be used by clients or servers
|
This file contains CLI and env TLS configurations that can be used by clients or servers |
|
tls/certman
Package certman provides live reloading of the certificate and key files used by the standard library http.Server.
|
Package certman provides live reloading of the certificate and key files used by the standard library http.Server. |
|
tri
Kleene’s three-valued logic (K3) enlarges classical logic with an “undefined” value ⊥ alongside true (T) and false (F) to model partial or indeterminate statements.
|
Kleene’s three-valued logic (K3) enlarges classical logic with an “undefined” value ⊥ alongside true (T) and false (F) to model partial or indeterminate statements. |
|
op-signer
module
|
|
|
op-supernode
|
|
|
cmd
command
|
|
|
supernode/activity/interop/raftwallogdb
Package raftwallogdb implements LogsDB on top of hashicorp/raft-wal.
|
Package raftwallogdb implements LogsDB on top of hashicorp/raft-wal. |
|
op-sync-tester
|
|
|
cmd
command
|
|
|
op-test-sequencer
|
|
|
cmd
command
|
|
|
op-ufm
module
|
|
|
cmd
command
|
|
|
ops
|
|
|
scripts/check-nut-locks
command
|
|
|
scripts/nut-provenance-verify
command
|
|
|
scripts/nut-snapshot-for
command
|
|
|
scripts/prefork-state-dump
command
Command prefork-state-dump writes the predeploy-scoped L2 state for a given fork level to a JSON file.
|
Command prefork-state-dump writes the predeploy-scoped L2 state for a given fork level to a JSON file. |
|
packages
|
|
|
contracts-bedrock/scripts/check-runner
command
check-runner is a parallel check execution tool for contracts-bedrock.
|
check-runner is a parallel check execution tool for contracts-bedrock. |
|
contracts-bedrock/scripts/go-ffi
command
|
|
|
proxyd
module
|
|
|
rust
|
|
|
state-surgery
module
|
|
|
teleportr
module
|
Click to show internal directories.
Click to hide internal directories.