v2

package
v1.11.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGeneralConfig

func NewGeneralConfig(t testing.TB, overrideFn func(*chainlink.Config, *chainlink.Secrets)) config.GeneralConfig

NewGeneralConfig returns a new config.GeneralConfig with overrides. The default test overrides are applied before overrideFn, and include one chain with evmclient.NullClientChainID.

func NewGeneralConfigSimulated

func NewGeneralConfigSimulated(t testing.TB, overrideFn func(*chainlink.Config, *chainlink.Secrets)) config.GeneralConfig

NewGeneralConfigSimulated returns a new config.GeneralConfig with overrides, including the simulated EVM chain. The default test overrides are applied before overrideFn. The simulated chain (testutils.SimulatedChainID) replaces the null chain (evmclient.NullClientChainID).

func NewTestGeneralConfig

func NewTestGeneralConfig(t testing.TB) config.GeneralConfig

NewTestGeneralConfig returns a new config.GeneralConfig with default test overrides and one chain with evmclient.NullClientChainID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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