statetest

package
v1.11.11-monitoring-url Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(t testing.TB, c Config) state.State

Types

type Config

type Config struct {
	DB              database.Database
	Genesis         []byte
	Registerer      prometheus.Registerer
	Validators      validators.Manager
	Upgrades        upgrade.Config
	ExecutionConfig config.ExecutionConfig
	Context         *snow.Context
	Metrics         metrics.Metrics
	Rewards         reward.Calculator
}

Jump to

Keyboard shortcuts

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