MCPcopy Create free account
hub / github.com/crytic/attacknet / IsTargetConsensusClient

Method IsTargetConsensusClient

pkg/plan/types.go:27–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27func (c *PlannerConfig) IsTargetConsensusClient() bool {
28 for _, consClient := range c.ConsensusClients {
29 if consClient.Name == c.FaultConfig.TargetClient {
30 return true
31 }
32 }
33 return false
34}
35
36type EthKurtosisConfig struct {
37 Participants []*Participant `yaml:"participants"`

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected