testhelper

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package testhelper makes it easy for other packages requiring scribe to construct one using simulated backends. as a reminder, scribe requires rpc addresses, so a backend that exposes one is required.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestScribe

func NewTestScribe(ctx context.Context, tb testing.TB, deployedContracts map[uint32][]contracts.DeployedContract, backends ...backends.SimulatedTestBackend) string

NewTestScribe creates a new scribe server with all the test backends passed in. all contracts in the registry will be tracked.

Types

This section is empty.

Jump to

Keyboard shortcuts

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