challenger

package
v1.16.13 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: MIT Imports: 18 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(ctx context.Context, dir string, l1Endpoint string, l1Beacon string, supervisorEndpoint string, l2Endpoints []string, options ...Option) (*config.Config, error)

func NewPreInteropChallengerConfig

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

Types

type Option

type Option func(ctx context.Context, 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 WithCannonKonaInteropConfig

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

func WithExperimentalWitnessEndpoint

func WithExperimentalWitnessEndpoint() Option

WithExperimentalWitnessEndpoint enables kona's experimental witness endpoint feature. This uses debug_executePayload to collect execution witnesses, reducing proof generation time by avoiding full block re-derivation and re-execution. Requires op-reth or execution client with debug_executePayload support.

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 WithSuperCannonKonaGameType

func WithSuperCannonKonaGameType() 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