Documentation ¶
Index ¶
- func NewGeneralConfig(t testing.TB, overrideFn func(*chainlink.Config, *chainlink.Secrets)) chainlink.GeneralConfig
- func NewGeneralConfigSimulated(t testing.TB, overrideFn func(*chainlink.Config, *chainlink.Secrets)) chainlink.GeneralConfig
- func NewTestGeneralConfig(t testing.TB) chainlink.GeneralConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGeneralConfig ¶
func NewGeneralConfig(t testing.TB, overrideFn func(*chainlink.Config, *chainlink.Secrets)) chainlink.GeneralConfig
NewGeneralConfig returns a new chainlink.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)) chainlink.GeneralConfig
NewGeneralConfigSimulated returns a new chainlink.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) chainlink.GeneralConfig
NewTestGeneralConfig returns a new chainlink.GeneralConfig with default test overrides and one chain with evmclient.NullClientChainID.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.