Documentation
¶
Index ¶
- Constants
- Variables
- func DeployConfig(allocType AllocType) *genesis.DeployConfig
- func IsCannonInDevelopment() bool
- func L1Allocs(allocType AllocType) *foundry.ForgeAllocs
- func L1Deployments(allocType AllocType) *genesis.L1Deployments
- func L2Allocs(allocType AllocType, mode genesis.L2AllocsMode) *foundry.ForgeAllocs
- type AllocType
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 ¶
Click to show internal directories.
Click to hide internal directories.