statetest

package
v1.11.12-rc.12 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultNodeID = ids.GenerateTestNodeID()

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