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.
Click to show internal directories.
Click to hide internal directories.