testsupplier

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClaimProofSupplierClientMap added in v0.0.8

func NewClaimProofSupplierClientMap(
	ctx context.Context,
	t *testing.T,
	supplierOperatorAddress string,
	proofCount int,
) *supplier.SupplierClientMap

NewClaimProofSupplierClientMap creates and returns a map of supplier to supplier client mocks. Each supplier client is expected to submit exactly 1 claim and exactly proofCount proofs.

func NewLocalnetClient

func NewLocalnetClient(
	t *testing.T,
	signingKeyName string,
) client.SupplierClient

NewLocalnetClient creates and returns a new supplier client that connects to the LocalNet validator.

Types

This section is empty.

Jump to

Keyboard shortcuts

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