config

package
v1.18.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT Imports: 30 Imported by: 3

Documentation

Index

Constants

View Source
const (
	LegacyLevelCrit = iota
	LegacyLevelError
	LegacyLevelWarn
	LegacyLevelInfo
	LegacyLevelDebug
	LegacyLevelTrace
)

legacy geth log levels - the geth command line --verbosity flag wasn't migrated to use slog's numerical levels.

Variables

View Source
var (

	// EthNodeVerbosity is the (legacy geth) level of verbosity to output
	EthNodeVerbosity int = 3
)

Functions

func DeployConfig

func DeployConfig(allocType AllocType) *genesis.DeployConfig

DeployConfig returns a fresh, fully-independent *genesis.DeployConfig for the given alloc type. Each call unmarshals from the cached JSON bytes, so the returned value shares no maps, slices or pointers with any other call. Callers can freely mutate the result without affecting any other test.

func IsCannonInDevelopment

func IsCannonInDevelopment() bool

func L1Allocs

func L1Allocs(allocType AllocType) *foundry.ForgeAllocs

func L1Deployments

func L1Deployments(allocType AllocType) *genesis.L1Deployments

func L2Allocs

func L2Allocs(allocType AllocType, mode genesis.L2AllocsMode) *foundry.ForgeAllocs

Types

type AllocType

type AllocType string
const (
	AllocTypeAltDA        AllocType = "alt-da"
	AllocTypeMTCannon     AllocType = "mt-cannon"
	AllocTypeMTCannonNext AllocType = "mt-cannon-next"
	AllocTypeFastGame     AllocType = "fast-game"

	DefaultAllocType = AllocTypeMTCannon
)

func (AllocType) Check

func (a AllocType) Check() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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