challenger

package
v1.16.3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: MIT Imports: 16 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInteropChallengerConfig

func NewInteropChallengerConfig(dir string, l1Endpoint string, l1Beacon string, supervisorEndpoint string, l2Endpoints []string, options ...Option) (*config.Config, error)

func NewPreInteropChallengerConfig

func NewPreInteropChallengerConfig(dir string, l1Endpoint string, l1Beacon string, rollupEndpoint string, l2Endpoint string, options ...Option) (*config.Config, error)

Types

type Option

type Option func(cfg *config.Config) error

func WithCannonConfig

func WithCannonConfig(rollupCfgs []*rollup.Config, l1Genesis *core.Genesis, l2Geneses []*core.Genesis, prestateVariant PrestateVariant) Option

func WithCannonGameType

func WithCannonGameType() Option

func WithCannonKonaConfig

func WithCannonKonaConfig(rollupCfgs []*rollup.Config, l1Genesis *core.Genesis, l2Geneses []*core.Genesis) Option

func WithCannonKonaGameType

func WithCannonKonaGameType() Option

func WithFactoryAddress

func WithFactoryAddress(addr common.Address) Option

func WithFastGames

func WithFastGames() Option

func WithPermissionedGameType

func WithPermissionedGameType() Option

func WithPrivKey

func WithPrivKey(key *ecdsa.PrivateKey) Option

func WithSuperCannonGameType

func WithSuperCannonGameType() Option

func WithSuperPermissionedGameType

func WithSuperPermissionedGameType() Option

type PrestateVariant

type PrestateVariant string
const (
	MTCannonVariant     PrestateVariant = "mt64"
	MTCannonNextVariant PrestateVariant = "mt64Next"
	InteropVariant      PrestateVariant = "interop"
	InteropVariantNext  PrestateVariant = "interopNext"
)

Jump to

Keyboard shortcuts

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