Documentation
¶
Overview ¶
Package testutils provides utility functions for testing the test engine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StubChain ¶
type StubChain struct {
// contains filtered or unexported fields
}
StubChain is an lightweight implementation of the fchain.BlockChain interface for testing purposes.
func NewStubChain ¶
NewStubChain creates a new StubChain with the given selector.
func (*StubChain) ChainSelector ¶
Implement the fchain.BlockChain interface.
func (*StubChain) IsNetworkType ¶ added in v0.78.0
func (c *StubChain) IsNetworkType(networkType chainsel.NetworkType) bool
func (*StubChain) NetworkType ¶ added in v0.78.0
func (c *StubChain) NetworkType() (chainsel.NetworkType, error)
Click to show internal directories.
Click to hide internal directories.