Documentation ¶
Index ¶
- func NewChallengerConfig(t *testing.T, sys EndpointProvider, options ...Option) *config.Config
- type EndpointProvider
- type GameAddr
- type Helper
- type Option
- func WithAlphabet(rollupEndpoint string) Option
- func WithCannon(t *testing.T, rollupCfg *rollup.Config, l2Genesis *core.Genesis, ...) Option
- func WithFactoryAddress(addr common.Address) Option
- func WithGameAddress(addr common.Address) Option
- func WithPollInterval(pollInterval time.Duration) Option
- func WithPrivKey(key *ecdsa.PrivateKey) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChallengerConfig ¶ added in v1.1.4
Types ¶
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
type Option ¶
func WithAlphabet ¶ added in v1.1.6
func WithCannon ¶ added in v1.1.6
func WithFactoryAddress ¶ added in v1.1.6
func WithGameAddress ¶ added in v1.1.6
func WithPollInterval ¶ added in v1.1.6
func WithPrivKey ¶ added in v1.1.6
func WithPrivKey(key *ecdsa.PrivateKey) Option
Click to show internal directories.
Click to hide internal directories.