config

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MIT Imports: 12 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
)

Functions

func DeployConfig

func DeployConfig(allocType AllocType) *genesis.DeployConfig

func L1Allocs

func L1Allocs(allocType AllocType) *foundry.ForgeAllocs

func L1Deployments

func L1Deployments(allocType AllocType) *genesis.L1Deployments

func L2Allocs added in v1.7.4

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

Types

type AllocType added in v1.9.4

type AllocType string
const (
	AllocTypeStandard AllocType = "standard"
	AllocTypeAltDA    AllocType = "alt-da"
	AllocTypeL2OO     AllocType = "l2oo"
	AllocTypeMTCannon AllocType = "mt-cannon"

	DefaultAllocType = AllocTypeStandard
)

func (AllocType) Check added in v1.9.4

func (a AllocType) Check() error

func (AllocType) UsesProofs added in v1.9.4

func (a AllocType) UsesProofs() bool

Jump to

Keyboard shortcuts

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