types

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPostUpgradeWorker

func RegisterPostUpgradeWorker(name string, worker TestWorker)

func RegisterPreUpgradeWorker

func RegisterPreUpgradeWorker(name string, worker TestWorker)

Types

type TestParams

type TestParams struct {
	Home           string
	Node           string
	ChainID        string
	KeyringBackend string
	From           string
}

type TestWorker

type TestWorker interface {
	Run(ctx context.Context, t *testing.T, params TestParams)
}

func GetPostUpgradeWorker

func GetPostUpgradeWorker(name string) TestWorker

func GetPreUpgradeWorker

func GetPreUpgradeWorker(name string) TestWorker

Jump to

Keyboard shortcuts

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