disputemon

package
v1.19.5 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DisputeMon

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

func New

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

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 CompletedBeforeMaxDuration

func CompletedBeforeMaxDuration(expected int) StateExpectation

func CorrectChallengerWins

func CorrectChallengerWins(expected int) StateExpectation

func DeficientNonWithdrawableCredits

func DeficientNonWithdrawableCredits(expected int) StateExpectation

func DisagreedRoots

func DisagreedRoots(expected int) StateExpectation

func DivergentWithdrawalRequests

func DivergentWithdrawalRequests(game *proofs.FaultDisputeGame, expected int) StateExpectation

func ExactNonWithdrawableCredits

func ExactNonWithdrawableCredits(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 *proofs.FaultDisputeGame, expectedWei *big.Int) StateExpectation

func GameCount

func GameCount(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 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 *proofs.FaultDisputeGame, expected int) StateExpectation

func NoInsufficientCollateral

func NoInsufficientCollateral(game *proofs.FaultDisputeGame) StateExpectation

func NoWithdrawalRequests

func NoWithdrawalRequests(game *proofs.FaultDisputeGame) 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 *proofs.FaultDisputeGame, 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