Documentation ¶
Index ¶
- func FindMonorepoRoot(t *testing.T) string
- func NewChallengerConfig(t *testing.T, sys EndpointProvider, l2NodeName string, options ...Option) *config.Config
- type CapturingMetrics
- type EndpointProvider
- type GameAddr
- type Helper
- func (h *Helper) Close() error
- func (h *Helper) VerifyGameDataExists(games ...GameAddr)
- func (h *Helper) WaitForGameDataDeletion(ctx context.Context, games ...GameAddr)
- func (h *Helper) WaitForHighestActedL1Block(ctx context.Context, head uint64)
- func (h *Helper) WaitL1HeadActedOn(ctx context.Context, client *ethclient.Client)
- type Option
- func WithAlphabet() Option
- func WithCannon(t *testing.T, system System) Option
- func WithFactoryAddress(addr common.Address) Option
- func WithFastGames() Option
- func WithGameAddress(addr common.Address) Option
- func WithInvalidCannonPrestate() Option
- func WithPermissioned(t *testing.T, system System) Option
- func WithPollInterval(pollInterval time.Duration) Option
- func WithPrivKey(key *ecdsa.PrivateKey) Option
- func WithValidPrestateRequired() Option
- type System
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindMonorepoRoot ¶ added in v1.7.6
FindMonorepoRoot finds the relative path to the monorepo root Different tests might be nested in subdirectories of the op-e2e dir.
func NewChallengerConfig ¶ added in v1.1.4
Types ¶
type CapturingMetrics ¶ added in v1.7.6
type CapturingMetrics struct { metrics.NoopMetricsImpl HighestActedL1Block atomic.Uint64 }
func NewCapturingMetrics ¶ added in v1.7.6
func NewCapturingMetrics() *CapturingMetrics
func (*CapturingMetrics) RecordActedL1Block ¶ added in v1.7.6
func (c *CapturingMetrics) RecordActedL1Block(block uint64)
type EndpointProvider ¶ added in v1.5.1
type Helper ¶
type Helper struct {
// contains filtered or unexported fields
}
func NewChallenger ¶
func (*Helper) VerifyGameDataExists ¶ added in v1.1.6
func (*Helper) WaitForGameDataDeletion ¶ added in v1.1.6
func (*Helper) WaitForHighestActedL1Block ¶ added in v1.7.6
type Option ¶
func WithAlphabet ¶ added in v1.1.6
func WithAlphabet() Option
func WithFactoryAddress ¶ added in v1.1.6
func WithFastGames ¶ added in v1.7.7
func WithFastGames() Option
func WithGameAddress ¶ added in v1.1.6
func WithInvalidCannonPrestate ¶ added in v1.9.4
func WithInvalidCannonPrestate() Option
func WithPollInterval ¶ added in v1.1.6
func WithPrivKey ¶ added in v1.1.6
func WithPrivKey(key *ecdsa.PrivateKey) Option
func WithValidPrestateRequired ¶ added in v1.9.4
func WithValidPrestateRequired() Option
Click to show internal directories.
Click to hide internal directories.