scenarios

package
v1.1.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ScenarioDescriptors contains all available scenario descriptors for the spamoor tool. This registry includes scenarios for testing various Ethereum transaction types and patterns. Each descriptor defines the configuration, constructor, and metadata for a specific test scenario.

Functions

func GetScenario added in v1.1.0

func GetScenario(name string) *scenario.Descriptor

GetScenario finds and returns a scenario descriptor by name. It performs a linear search through all registered scenarios and returns the matching descriptor, or nil if no scenario with the given name exists.

func GetScenarioNames added in v1.1.0

func GetScenarioNames() []string

GetScenarioNames returns a slice containing the names of all registered scenarios. This is useful for CLI help text, validation, and displaying available options to users. The order matches the order in ScenarioDescriptors.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL