Documentation
¶
Index ¶
- 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 MinimalT
- type Option
- func WithAlphabet() Option
- func WithCannon(t *testing.T, system System) Option
- func WithDepset(t *testing.T, ds *depset.StaticConfigDependencySet) 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 WithResponseDelay(responseDelay time.Duration) Option
- func WithResponseDelayAfter(responseDelayAfter uint64) Option
- func WithSuperCannon(t *testing.T, system System) Option
- func WithValidPrestateRequired() Option
- type System
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 WithDepset ¶ added in v1.13.1
func WithDepset(t *testing.T, ds *depset.StaticConfigDependencySet) 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 WithResponseDelay ¶ added in v1.13.6
func WithResponseDelayAfter ¶ added in v1.13.6
func WithValidPrestateRequired ¶ added in v1.9.4
func WithValidPrestateRequired() Option
Click to show internal directories.
Click to hide internal directories.