testutils

package
v2.12.0-xlayer-05012024 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRelayer

type MockRelayer struct {
	ChainStatus  commontypes.ChainStatus
	NodeStatuses []commontypes.NodeStatus
}

func (MockRelayer) Close

func (m MockRelayer) Close() error

func (MockRelayer) GetChainStatus

func (m MockRelayer) GetChainStatus(ctx context.Context) (commontypes.ChainStatus, error)

func (MockRelayer) HealthReport

func (m MockRelayer) HealthReport() map[string]error

func (MockRelayer) ListNodeStatuses

func (m MockRelayer) ListNodeStatuses(ctx context.Context, pageSize int32, pageToken string) (stats []commontypes.NodeStatus, nextPageToken string, total int, err error)

func (MockRelayer) Name

func (m MockRelayer) Name() string

func (MockRelayer) NewConfigProvider

func (m MockRelayer) NewConfigProvider(ctx context.Context, args commontypes.RelayArgs) (commontypes.ConfigProvider, error)

func (MockRelayer) NewLLOProvider

func (MockRelayer) NewPluginProvider

func (MockRelayer) Ready

func (m MockRelayer) Ready() error

func (MockRelayer) Start

func (m MockRelayer) Start(ctx context.Context) error

func (MockRelayer) Transact

func (m MockRelayer) Transact(ctx context.Context, from, to string, amount *big.Int, balanceCheck bool) error

Jump to

Keyboard shortcuts

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