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, mode benchmark.BenchmarkExecutionMode, flashblocksBlockTime string) (*NetworkBenchmark, error)
NewNetworkBenchmark creates a new network benchmark.
The sequencer phase always runs and produces the payload stream. The normalized execution mode only controls whether the validator phase is run afterward to replay that stream.
type ProofProgramBenchmark ¶
type ProofProgramBenchmark interface {
Run(ctx context.Context, payloads []engine.ExecutableData, lastSetupBlock uint64) error
}
func NewOPProgramBenchmark ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.