network

package
v0.0.0-...-809f3dd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 41 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExecutionLayerLogFileName = "el.log"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkBenchmark

type NetworkBenchmark struct {
	// contains filtered or unexported fields
}

NetworkBenchmark handles the lifecycle for a single benchmark run

func NewNetworkBenchmark

func NewNetworkBenchmark(config *benchtypes.TestConfig, log log.Logger, sequencerOptions *config.InternalClientOptions, validatorOptions *config.InternalClientOptions, proofConfig *benchmark.ProofProgramOptions, transactionPayload payload.Definition, ports portmanager.PortManager) (*NetworkBenchmark, error)

NewNetworkBenchmark creates a new network benchmark and initializes the payload worker and consensus client

func (*NetworkBenchmark) GetResult

func (nb *NetworkBenchmark) GetResult() (*benchmark.RunResult, error)

func (*NetworkBenchmark) Run

func (nb *NetworkBenchmark) Run(ctx context.Context) error

Run executes the benchmark test

type ProofProgramBenchmark

type ProofProgramBenchmark interface {
	Run(ctx context.Context, payloads []engine.ExecutableData, lastSetupBlock uint64) error
}

func NewOPProgramBenchmark

func NewOPProgramBenchmark(genesis *core.Genesis, log log.Logger, opProgramBin string, l2RPCURL string, l1Chain fakel1.L1Chain, batcherKey *ecdsa.PrivateKey) ProofProgramBenchmark

Directories

Path Synopsis
fakel1
Package ethapi implements the general Ethereum API functions.
Package ethapi implements the general Ethereum API functions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL