zkproposer

package
v1.20.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: MIT Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runtime

type Runtime interface {
	MetricsClient() client.HTTP
}

Runtime provides the process-owned metrics transport without exposing its endpoint.

type StateExpectation

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

StateExpectation describes one proposer-state observation.

func DefenseTasksSpawned

func DefenseTasksSpawned(expected int) *StateExpectation

DefenseTasksSpawned expects the exact number of spawned defense tasks.

func LogBatchesSubmitted added in v1.20.1

func LogBatchesSubmitted(expected int) *StateExpectation

LogBatchesSubmitted expects the exact number of log-commitment batch proof requests.

func LogBatchesSubmittedAtLeast added in v1.20.1

func LogBatchesSubmittedAtLeast(minimum int) *StateExpectation

LogBatchesSubmittedAtLeast expects at least minimum log-commitment batch proof requests.

func ProvingFailures

func ProvingFailures(expected int) *StateExpectation

ProvingFailures expects the exact number of proving failures.

func RangeChainSplitsAtLeast added in v1.20.1

func RangeChainSplitsAtLeast(minimum int) *StateExpectation

RangeChainSplitsAtLeast expects at least minimum single-timestamp range requests split by chain for exceeding a proving limit.

func SpanBisectionsAtLeast added in v1.20.1

func SpanBisectionsAtLeast(minimum int) *StateExpectation

SpanBisectionsAtLeast expects at least minimum proving spans halved for exceeding a proving limit.

type ZKProposer

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

ZKProposer verifies the observable state of a running op-zk-proposer.

func New

func New(t devtest.T, runtime Runtime) *ZKProposer

New creates a DSL facade for a running proposer runtime.

func (*ZKProposer) VerifyState

func (p *ZKProposer) VerifyState(expectations ...*StateExpectation)

VerifyState waits for every expectation to hold in one metrics snapshot.

Jump to

Keyboard shortcuts

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