testutils

package
v2.12.1-starknet-20240802 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: MIT Imports: 3 Imported by: 0

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