disputemon

package
v1.19.6 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BondedGame added in v1.19.6

type BondedGame interface {
	WETHAddress() common.Address
}

type DisputeMon

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

func New

func New(t devtest.T, metricsURL string) *DisputeMon

func (*DisputeMon) VerifyCompletedCycleWithoutFailures added in v1.19.6

func (d *DisputeMon) VerifyCompletedCycleWithoutFailures()

VerifyCompletedCycleWithoutFailures waits for one completed monitor cycle that did not classify any game as failed.

func (*DisputeMon) VerifyDisputeMonHealthy

func (d *DisputeMon) VerifyDisputeMonHealthy()

func (*DisputeMon) VerifyHealthyOutputFetch

func (d *DisputeMon) VerifyHealthyOutputFetch(gameType gameTypes.GameType) MonitoringBaseline

func (*DisputeMon) VerifyReferenceNodeFailure

func (d *DisputeMon) VerifyReferenceNodeFailure(baseline MonitoringBaseline)

func (*DisputeMon) VerifyState

func (d *DisputeMon) VerifyState(expectations ...StateExpectation)

type MonitoringBaseline

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

type StateExpectation

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

func AgreedRoots

func AgreedRoots(expected int) StateExpectation

func AnchorStateL2SequenceNumber added in v1.19.6

func AnchorStateL2SequenceNumber(registry common.Address, expected uint64) StateExpectation

func CompletedBeforeMaxDuration

func CompletedBeforeMaxDuration(expected int) StateExpectation

func CorrectChallengerAhead added in v1.19.6

func CorrectChallengerAhead(expected int) StateExpectation

func CorrectChallengerWins

func CorrectChallengerWins(expected int) StateExpectation

func CorrectDefenderAhead added in v1.19.6

func CorrectDefenderAhead(expected int) StateExpectation

func CorrectDefenderWins added in v1.19.6

func CorrectDefenderWins(expected int) StateExpectation

func DeficientNonWithdrawableCredits

func DeficientNonWithdrawableCredits(expected int) StateExpectation

func DisagreedRoots

func DisagreedRoots(expected int) StateExpectation

func DivergentWithdrawalRequests

func DivergentWithdrawalRequests(game BondedGame, expected int) StateExpectation

func ExactNonWithdrawableCredits

func ExactNonWithdrawableCredits(expected int) StateExpectation

func ExactWithdrawableCredits added in v1.19.6

func ExactWithdrawableCredits(expected int) StateExpectation

func ExcessCredits

func ExcessCredits(expected int) StateExpectation

func ExpectedNonWithdrawableCredits

func ExpectedNonWithdrawableCredits(expected int) StateExpectation

func ExpiredClaims

func ExpiredClaims(expected int) StateExpectation

func FailedGames

func FailedGames(expected int) StateExpectation

func FullyCollateralized

func FullyCollateralized(game BondedGame, expectedWei *big.Int) StateExpectation

func GameCount

func GameCount(gameType gameTypes.GameType, expected int) StateExpectation

func GamesWaitingForRootSource added in v1.19.6

func GamesWaitingForRootSource(gameType gameTypes.GameType, expected int) StateExpectation

func HonestActorInvalidClaims

func HonestActorInvalidClaims(actor common.Address, expected int) StateExpectation

func HonestActorLostBonds

func HonestActorLostBonds(actor common.Address, expectedWei *big.Int) StateExpectation

func HonestActorPendingBonds added in v1.19.6

func HonestActorPendingBonds(actor common.Address, expectedWei *big.Int) StateExpectation

func HonestActorPendingWithdrawals added in v1.19.6

func HonestActorPendingWithdrawals(actor common.Address, expectedWei *big.Int) StateExpectation

func HonestActorWonBonds added in v1.19.6

func HonestActorWonBonds(actor common.Address, expectedWei *big.Int) StateExpectation

func IncorrectChallengerAhead added in v1.19.6

func IncorrectChallengerAhead(expected int) StateExpectation

func IncorrectChallengerWins added in v1.19.6

func IncorrectChallengerWins(expected int) StateExpectation

func IncorrectDefenderAhead

func IncorrectDefenderAhead(expected int) StateExpectation

func IncorrectDefenderWins

func IncorrectDefenderWins(expected int) StateExpectation

func InvalidProposalObserved

func InvalidProposalObserved(game interface{ CreatedAt() uint64 }) StateExpectation

func MatchingWithdrawalRequests

func MatchingWithdrawalRequests(game BondedGame, expected int) StateExpectation

func NoInsufficientCollateral

func NoInsufficientCollateral(game BondedGame) StateExpectation

func NoWithdrawalRequests

func NoWithdrawalRequests(game BondedGame) StateExpectation

func PendingZKBondDistributions added in v1.19.6

func PendingZKBondDistributions(expected int) StateExpectation

func PendingZKResolutions added in v1.19.6

func PendingZKResolutions(expected int) StateExpectation

func ResolvableClaims

func ResolvableClaims(expected int) StateExpectation

func ResolvedClaims

func ResolvedClaims(expected int) StateExpectation

func ResolvedClaimsInFirstHalf

func ResolvedClaimsInFirstHalf(expected int) StateExpectation

func ResolvedClaimsInSecondHalf

func ResolvedClaimsInSecondHalf(expected int) StateExpectation

func SufficientCollateral

func SufficientCollateral(game BondedGame, expectedWei *big.Int) StateExpectation

func UnexpiredClaims

func UnexpiredClaims(expected int) StateExpectation

func UnresolvedClaimsInFirstHalf

func UnresolvedClaimsInFirstHalf(expected int) StateExpectation

func UnresolvedClaimsInSecondHalf

func UnresolvedClaimsInSecondHalf(expected int) StateExpectation

Jump to

Keyboard shortcuts

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