Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildCommand = map[string]string{
"pnpm": "pnpm install --no-frozen-lockfile",
"yarn": "yarn install --no-frozen-lockfile",
}
View Source
var GenesisCreationCommand = map[string]GeneratorFn{
"opnode1": opnode1,
"opnode2": opnode2,
"forge1": forge1,
}
GenesisCreationCommand stores various functions which return a command, encoded as a string, which can be used to generate the Genesis.allocs object at some historical commit or range of commits in the github.com/ethereum-optimism/optimism repo. For example, the command may be an op-node subcommand invocation, or a Foundry script invocation. The invocation has changed over time, including the format of the inputs specified in the command line arguments.
View Source
var ValidationInputs map[uint64]ValidationMetadata
Functions ¶
This section is empty.
Types ¶
type GeneratorFn ¶
type ValidationMetadata ¶
type ValidationMetadata struct { GenesisCreationCommit string `toml:"genesis_creation_commit"` // in https://github.com/ethereum-optimism/optimism/ NodeVersion string `toml:"node_version"` MonorepoBuildCommand string `toml:"monorepo_build_command"` GenesisCreationCommand string `toml:"genesis_creation_command"` }
Click to show internal directories.
Click to hide internal directories.