Documentation
¶
Index ¶
- func BuildValidatorConfigFromState(ctx context.Context, l log.Logger, globalState *state.State, ...) (*service.Config, error)
- func Commands() []*cli.Command
- func DetectValidatorVersion(validateFlag string, appliedIntent *state.Intent, l log.Logger) string
- func GetAbsolutePrestate(globalState *state.State, chainID common.Hash, l log.Logger) common.Hash
- func GetOPCMValidatorAddress(ctx context.Context, l log.Logger, opcmAddr *common.Address, l1RPCURL string) common.Address
- func ValidateAuto(cliCtx *cli.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildValidatorConfigFromState ¶
func BuildValidatorConfigFromState(ctx context.Context, l log.Logger, globalState *state.State, chainState *state.ChainState, chainID common.Hash, l1RPCURL string) (*service.Config, error)
BuildValidatorConfigFromState builds a validator configuration from the deployment state.
func DetectValidatorVersion ¶
DetectValidatorVersion determines the validator version to use based on the validate flag and state.
func GetAbsolutePrestate ¶
GetAbsolutePrestate retrieves the absolute prestate for a chain from various sources.
func GetOPCMValidatorAddress ¶
func GetOPCMValidatorAddress(ctx context.Context, l log.Logger, opcmAddr *common.Address, l1RPCURL string) common.Address
GetOPCMValidatorAddress retrieves the validator address from the OPCM contract.
func ValidateAuto ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.