Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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.