counterprobe

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT, Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CounterProbe

type CounterProbe struct {
	// contains filtered or unexported fields
}

CounterProbe allows running an e2e probe for a pre-minted table that has a counter column.

func New

func New(
	chainName string,
	client *clientV1.Client,
	tableName string,
	checkInterval time.Duration,
	receiptTimeout time.Duration,
	suggGasPriceMultiplier float64,
	estGasLimitMultiplier float64,
) (*CounterProbe, error)

New returns a *CounterProbe.

func (*CounterProbe) Run

func (cp *CounterProbe) Run(ctx context.Context)

Run runs the probe until the provided ctx is canceled.

Jump to

Keyboard shortcuts

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