zkproposer

package
v1.19.10 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 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 exact proposer-state observation.

func DefenseTasksSpawned

func DefenseTasksSpawned(expected int) *StateExpectation

DefenseTasksSpawned expects the exact number of spawned defense tasks.

func ProvingFailures

func ProvingFailures(expected int) *StateExpectation

ProvingFailures expects the exact number of proving failures.

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