Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TaskName = "check_eth_config" TaskDescriptor = &types.TaskDescriptor{ Name: TaskName, Description: "Checks that all execution clients return the same eth_config (EIP-7910)", Category: "execution", Config: DefaultConfig(), Outputs: []types.TaskOutputDefinition{ { Name: "ethConfig", Type: "string", Description: "The eth_config JSON returned by clients.", }, }, NewTask: NewTask, } )
Functions ¶
func NewTask ¶
func NewTask(ctx *types.TaskContext, options *types.TaskOptions) (types.Task, error)
Types ¶
type Config ¶
type Config struct {
ClientPattern string `` /* 126-byte string literal not displayed */
ExcludeClientPattern string `yaml:"excludeClientPattern" json:"excludeClientPattern" desc:"Regex pattern to exclude certain client endpoints."`
FailOnMismatch bool `yaml:"failOnMismatch" json:"failOnMismatch" desc:"If true, fail the task when client configurations do not match."`
ExcludeSyncingClients bool `` /* 128-byte string literal not displayed */
}
func DefaultConfig ¶
func DefaultConfig() Config
type Task ¶
type Task struct {
// contains filtered or unexported fields
}
func (*Task) LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.