tests

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IntegrationTestSetup

type IntegrationTestSetup struct {
	Cfg *config.Config

	TestCluster integration.SpcCluster
	// contains filtered or unexported fields
}

func NewIntegrationTestSetup

func NewIntegrationTestSetup(t *testing.T, ctx context.Context, cluster integration.SpcCluster) *IntegrationTestSetup

func (*IntegrationTestSetup) GetAccount

func (i *IntegrationTestSetup) GetAccount(idx int) (common.Address, error)

func (*IntegrationTestSetup) GetPrivateKey

func (i *IntegrationTestSetup) GetPrivateKey(idx int) (string, error)

func (*IntegrationTestSetup) Terminate

func (i *IntegrationTestSetup) Terminate(t *testing.T)

Jump to

Keyboard shortcuts

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