Documentation
¶
Index ¶
- Constants
- func LocateKonaHost(ctx context.Context) (string, error)
- func NewInteropChallengerConfig(ctx context.Context, dir string, l1Endpoint string, l1Beacon string, ...) (*config.Config, error)
- func NewPreInteropChallengerConfig(ctx context.Context, dir string, l1Endpoint string, l1Beacon string, ...) (*config.Config, error)
- type Option
- func WithCannonKonaConfig(rollupCfgs []*rollup.Config, l1Genesis *core.Genesis, ...) Option
- func WithCannonKonaGameType() Option
- func WithCannonKonaInteropConfig(rollupCfgs []*rollup.Config, l1Genesis *core.Genesis, ...) Option
- func WithDepset(ds *depset.StaticConfigDependencySet) Option
- func WithFactoryAddress(addr common.Address) Option
- func WithFastGames() Option
- func WithPermissionedCannonConfig(rollupCfgs []*rollup.Config, l1Genesis *core.Genesis, ...) Option
- func WithPermissionedGameType() Option
- func WithPrivKey(key *ecdsa.PrivateKey) Option
- func WithSuperCannonKonaGameType() Option
Constants ¶
const DummyPermissionedPrestate = "0x000000000000000000000000000000000000000000000000000000000000dead"
DummyPermissionedPrestate is a placeholder absolute prestate for the PermissionedCannon game type. The legacy fault-proof program is no longer wired into devstack, so PermissionedCannon games are configured with a dummy prestate and never executed by the challenger — permissioned games skip prestate validation and only trusted actors participate, so they resolve without reaching step().
Variables ¶
This section is empty.
Functions ¶
func LocateKonaHost ¶ added in v1.19.1
LocateKonaHost ensures the kona-host native binary is built and returns its path.
Types ¶
type Option ¶
func WithCannonKonaConfig ¶
func WithCannonKonaGameType ¶
func WithCannonKonaGameType() Option
func WithDepset ¶
func WithDepset(ds *depset.StaticConfigDependencySet) Option
func WithFactoryAddress ¶
func WithFastGames ¶
func WithFastGames() Option
func WithPermissionedCannonConfig ¶ added in v1.19.1
func WithPermissionedCannonConfig(rollupCfgs []*rollup.Config, l1Genesis *core.Genesis, l2Geneses []*core.Genesis) Option
WithPermissionedCannonConfig wires the Cannon VM config used by the PermissionedCannon game type. The legacy fault-proof program is no longer referenced — the prestate is a dummy and the server is unused.
func WithPermissionedGameType ¶
func WithPermissionedGameType() Option
func WithPrivKey ¶
func WithPrivKey(key *ecdsa.PrivateKey) Option
func WithSuperCannonKonaGameType ¶
func WithSuperCannonKonaGameType() Option