Help us shape the future of Go! Take the 2026 Go Developer Survey

configtest

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// RootDir the root directory for test
	RootDir       = "/tmp/chainlink_test"
	DefaultPeerID = "12D3KooWPjceQrSwdWXPyLLeABRXmuqt69Rg3sBYbU1Nft9HyQ6X"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GeneralConfigOverrides deprecated

type GeneralConfigOverrides struct {
	AdvisoryLockCheckInterval                       *time.Duration
	AdvisoryLockID                                  null.Int
	AllowOrigins                                    null.String
	BlockBackfillDepth                              null.Int
	BlockBackfillSkip                               null.Bool
	DatabaseURL                                     null.String
	DatabaseLockingMode                             null.String
	DatabaseDefaultLockTimeout                      *time.Duration
	DefaultChainID                                  *big.Int
	BridgeCacheTTL                                  *time.Duration
	DefaultHTTPTimeout                              *time.Duration
	HTTPServerWriteTimeout                          *time.Duration
	Dev                                             null.Bool
	ShutdownGracePeriod                             *time.Duration
	Dialect                                         dialects.DialectName
	EthereumURL                                     null.String
	GlobalBalanceMonitorEnabled                     null.Bool
	GlobalBlockEmissionIdleWarningThreshold         *time.Duration
	GlobalBlockHistoryEstimatorCheckInclusionBlocks null.Int
	GlobalChainType                                 null.String
	GlobalEthTxReaperThreshold                      *time.Duration
	GlobalEthTxResendAfterThreshold                 *time.Duration
	GlobalEvmEIP1559DynamicFees                     null.Bool
	GlobalEvmFinalityDepth                          null.Int
	GlobalEvmGasBumpPercent                         null.Int
	GlobalEvmGasBumpTxDepth                         null.Int
	GlobalEvmGasBumpWei                             *assets.Wei
	GlobalEvmGasFeeCapDefault                       *assets.Wei
	GlobalEvmGasLimitDefault                        null.Int
	GlobalEvmGasLimitMax                            null.Int
	GlobalEvmGasLimitMultiplier                     null.Float
	GlobalEvmGasPriceDefault                        *assets.Wei
	GlobalEvmGasTipCapDefault                       *assets.Wei
	GlobalEvmGasTipCapMinimum                       *assets.Wei
	GlobalEvmGasLimitOCRJobType                     null.Int
	GlobalEvmGasLimitDRJobType                      null.Int
	GlobalEvmGasLimitVRFJobType                     null.Int
	GlobalEvmGasLimitFMJobType                      null.Int
	GlobalEvmGasLimitKeeperJobType                  null.Int
	GlobalEvmHeadTrackerHistoryDepth                null.Int
	GlobalEvmHeadTrackerMaxBufferSize               null.Int
	GlobalEvmHeadTrackerSamplingInterval            *time.Duration
	GlobalEvmLogBackfillBatchSize                   null.Int
	GlobalEvmLogPollInterval                        *time.Duration
	GlobalEvmMaxGasPriceWei                         *assets.Wei
	GlobalEvmMinGasPriceWei                         *assets.Wei
	GlobalEvmNonceAutoSync                          null.Bool
	GlobalEvmRPCDefaultBatchSize                    null.Int
	GlobalEvmUseForwarders                          null.Bool
	GlobalFlagsContractAddress                      null.String
	GlobalGasEstimatorMode                          null.String
	GlobalMinIncomingConfirmations                  null.Int
	GlobalMinimumContractPayment                    *assets.Link
	GlobalOCRObservationGracePeriod                 time.Duration
	GlobalOCR2AutomationGasLimit                    null.Int
	KeeperRegistryMaxPerformDataSize                null.Int
	KeeperMaximumGracePeriod                        null.Int
	KeeperRegistrySyncInterval                      *time.Duration
	KeeperRegistrySyncUpkeepQueueSize               null.Int
	KeeperTurnLookBack                              null.Int
	LeaseLockDuration                               *time.Duration
	LeaseLockRefreshInterval                        *time.Duration
	LogFileDir                                      null.String
	LogLevel                                        *zapcore.Level
	DefaultLogLevel                                 *zapcore.Level
	LogSQL                                          null.Bool
	LogFileMaxSize                                  null.String
	LogFileMaxAge                                   null.Int
	LogFileMaxBackups                               null.Int
	TriggerFallbackDBPollInterval                   *time.Duration
	KeySpecific                                     map[string]types.ChainCfg
	LinkContractAddress                             null.String
	OperatorFactoryAddress                          null.String
	NodeNoNewHeadsThreshold                         *time.Duration
	JobPipelineReaperInterval                       *time.Duration

	// Feature Flags
	FeatureExternalInitiators null.Bool
	FeatureFeedsManager       null.Bool
	FeatureOffchainReporting  null.Bool
	FeatureOffchainReporting2 null.Bool
	FeatureLogPoller          null.Bool
	EVMEnabled                null.Bool
	EVMRPCEnabled             null.Bool
	P2PEnabled                null.Bool
	SolanaEnabled             null.Bool
	StarkNetEnabled           null.Bool

	// OCR v2
	OCR2DatabaseTimeout *time.Duration

	// OCR v1
	OCRKeyBundleID            null.String
	OCRDatabaseTimeout        *time.Duration
	OCRObservationGracePeriod *time.Duration
	OCRObservationTimeout     *time.Duration
	OCRTransmitterAddress     *ethkey.EIP55Address

	// P2P v1 and V2
	P2PPeerID          p2pkey.PeerID
	P2PNetworkingStack ocrnetworking.NetworkingStack

	// P2P v1
	P2PBootstrapCheckInterval *time.Duration
	P2PBootstrapPeers         []string
	P2PListenPort             null.Int

	// P2PV2
	P2PV2ListenAddresses   []string
	P2PV2AnnounceAddresses []string
	P2PV2Bootstrappers     []ocrcommontypes.BootstrapperLocator
	P2PV2DeltaDial         *time.Duration
	P2PV2DeltaReconcile    *time.Duration
}

Deprecated: https://app.shortcut.com/chainlinklabs/story/33622/remove-legacy-config

func (*GeneralConfigOverrides) SetBridgeCacheTTL

func (o *GeneralConfigOverrides) SetBridgeCacheTTL(d time.Duration)

SetBridgeCacheTTL sets test override value for BridgeCacheTTL

func (*GeneralConfigOverrides) SetDefaultDatabaseLockTimeout

func (o *GeneralConfigOverrides) SetDefaultDatabaseLockTimeout(d time.Duration)

SetDefaultDatabaseLockTimeout sets test override value for DefaultDatabaseLockTimeout

func (*GeneralConfigOverrides) SetDefaultHTTPTimeout

func (o *GeneralConfigOverrides) SetDefaultHTTPTimeout(d time.Duration)

SetDefaultHTTPTimeout sets test override value for DefaultHTTPTimeout

func (*GeneralConfigOverrides) SetOCRBootstrapCheckInterval

func (o *GeneralConfigOverrides) SetOCRBootstrapCheckInterval(d time.Duration)

SetOCRBootstrapCheckInterval sets test override value for P2PBootstrapCheckInterval

func (*GeneralConfigOverrides) SetOCRObservationTimeout

func (o *GeneralConfigOverrides) SetOCRObservationTimeout(d time.Duration)

SetOCRObservationTimeout sets test override value for OCRObservationTimeout

func (*GeneralConfigOverrides) SetP2PV2DeltaDial

func (o *GeneralConfigOverrides) SetP2PV2DeltaDial(d time.Duration)

SetP2PV2DeltaDial sets test override value for P2PV2DeltaDial

func (*GeneralConfigOverrides) SetP2PV2DeltaReconcile

func (o *GeneralConfigOverrides) SetP2PV2DeltaReconcile(d time.Duration)

SetP2PV2DeltaReconcile sets test override value for P2PV2DeltaReconcile

func (*GeneralConfigOverrides) SetTriggerFallbackDBPollInterval

func (o *GeneralConfigOverrides) SetTriggerFallbackDBPollInterval(d time.Duration)

FIXME: This is a hack, the proper fix is here: https://app.clubhouse.io/chainlinklabs/story/15103/use-in-memory-event-broadcaster-instead-of-postgres-event-broadcaster-in-transactional-tests-so-it-actually-works SetTriggerFallbackDBPollInterval sets test override value for TriggerFallbackDBPollInterval

type TestGeneralConfig

type TestGeneralConfig struct {
	config.GeneralConfig

	Overrides GeneralConfigOverrides
	// contains filtered or unexported fields
}

TestGeneralConfig defaults to whatever config.NewGeneralConfig() gives but allows overriding certain methods Deprecated: https://app.shortcut.com/chainlinklabs/story/33622/remove-legacy-config

func NewTestGeneralConfig deprecated

func NewTestGeneralConfig(t *testing.T) *TestGeneralConfig

Deprecated: see v2.NewTestGeneralConfig NewTestGeneralConfig returns a legacy *TestGeneralConfig. Use v2.NewTestGeneralConfig instead. https://app.shortcut.com/chainlinklabs/story/33622/remove-legacy-config

func NewTestGeneralConfigWithOverrides deprecated

func NewTestGeneralConfigWithOverrides(t testing.TB, overrides GeneralConfigOverrides) *TestGeneralConfig

Deprecated: see v2.NewGeneralConfig https://app.shortcut.com/chainlinklabs/story/33622/remove-legacy-config

func (*TestGeneralConfig) AdvisoryLockCheckInterval

func (c *TestGeneralConfig) AdvisoryLockCheckInterval() time.Duration

func (*TestGeneralConfig) AllowOrigins

func (c *TestGeneralConfig) AllowOrigins() string

func (*TestGeneralConfig) BlockBackfillDepth

func (c *TestGeneralConfig) BlockBackfillDepth() uint64

func (*TestGeneralConfig) BlockBackfillSkip

func (c *TestGeneralConfig) BlockBackfillSkip() bool

func (*TestGeneralConfig) BridgeCacheTTL

func (c *TestGeneralConfig) BridgeCacheTTL() time.Duration

func (*TestGeneralConfig) BridgeResponseURL

func (c *TestGeneralConfig) BridgeResponseURL() *url.URL

func (*TestGeneralConfig) DatabaseDefaultLockTimeout

func (c *TestGeneralConfig) DatabaseDefaultLockTimeout() time.Duration

func (*TestGeneralConfig) DatabaseLockingMode

func (c *TestGeneralConfig) DatabaseLockingMode() string

DatabaseLockingMode returns either overridden DatabaseLockingMode value or "none"

func (*TestGeneralConfig) DatabaseURL

func (c *TestGeneralConfig) DatabaseURL() url.URL

func (*TestGeneralConfig) DefaultChainID

func (c *TestGeneralConfig) DefaultChainID() *big.Int

func (*TestGeneralConfig) DefaultHTTPTimeout

func (c *TestGeneralConfig) DefaultHTTPTimeout() models.Duration

func (*TestGeneralConfig) DefaultLogLevel

func (c *TestGeneralConfig) DefaultLogLevel() zapcore.Level

func (*TestGeneralConfig) Dev

func (c *TestGeneralConfig) Dev() bool

func (*TestGeneralConfig) EVMEnabled

func (c *TestGeneralConfig) EVMEnabled() bool

EVMEnabled overrides

func (*TestGeneralConfig) EVMRPCEnabled

func (c *TestGeneralConfig) EVMRPCEnabled() bool

EVMRPCEnabled overrides

func (*TestGeneralConfig) EthereumURL

func (c *TestGeneralConfig) EthereumURL() string

func (*TestGeneralConfig) FeatureExternalInitiators

func (c *TestGeneralConfig) FeatureExternalInitiators() bool

func (*TestGeneralConfig) FeatureFeedsManager

func (c *TestGeneralConfig) FeatureFeedsManager() bool

func (*TestGeneralConfig) FeatureLogPoller

func (c *TestGeneralConfig) FeatureLogPoller() bool

func (*TestGeneralConfig) FeatureOffchainReporting

func (c *TestGeneralConfig) FeatureOffchainReporting() bool

func (*TestGeneralConfig) FeatureOffchainReporting2

func (c *TestGeneralConfig) FeatureOffchainReporting2() bool

func (*TestGeneralConfig) GetAdvisoryLockIDConfiguredOrDefault

func (c *TestGeneralConfig) GetAdvisoryLockIDConfiguredOrDefault() int64

func (*TestGeneralConfig) GetDatabaseDialectConfiguredOrDefault

func (c *TestGeneralConfig) GetDatabaseDialectConfiguredOrDefault() dialects.DialectName

func (*TestGeneralConfig) GlobalBalanceMonitorEnabled

func (c *TestGeneralConfig) GlobalBalanceMonitorEnabled() (bool, bool)

func (*TestGeneralConfig) GlobalBlockEmissionIdleWarningThreshold

func (c *TestGeneralConfig) GlobalBlockEmissionIdleWarningThreshold() (time.Duration, bool)

func (*TestGeneralConfig) GlobalBlockHistoryEstimatorCheckInclusionBlocks

func (c *TestGeneralConfig) GlobalBlockHistoryEstimatorCheckInclusionBlocks() (uint16, bool)

func (*TestGeneralConfig) GlobalChainType

func (c *TestGeneralConfig) GlobalChainType() (string, bool)

func (*TestGeneralConfig) GlobalEthTxReaperThreshold

func (c *TestGeneralConfig) GlobalEthTxReaperThreshold() (time.Duration, bool)

func (*TestGeneralConfig) GlobalEthTxResendAfterThreshold

func (c *TestGeneralConfig) GlobalEthTxResendAfterThreshold() (time.Duration, bool)

func (*TestGeneralConfig) GlobalEvmEIP1559DynamicFees

func (c *TestGeneralConfig) GlobalEvmEIP1559DynamicFees() (bool, bool)

func (*TestGeneralConfig) GlobalEvmFinalityDepth

func (c *TestGeneralConfig) GlobalEvmFinalityDepth() (uint32, bool)

func (*TestGeneralConfig) GlobalEvmGasBumpPercent

func (c *TestGeneralConfig) GlobalEvmGasBumpPercent() (uint16, bool)

func (*TestGeneralConfig) GlobalEvmGasBumpTxDepth

func (c *TestGeneralConfig) GlobalEvmGasBumpTxDepth() (uint16, bool)

func (*TestGeneralConfig) GlobalEvmGasBumpWei

func (c *TestGeneralConfig) GlobalEvmGasBumpWei() (*assets.Wei, bool)

func (*TestGeneralConfig) GlobalEvmGasFeeCapDefault

func (c *TestGeneralConfig) GlobalEvmGasFeeCapDefault() (*assets.Wei, bool)

GlobalEvmGasFeeCapDefault is the override for EvmGasFeeCapDefault

func (*TestGeneralConfig) GlobalEvmGasLimitDRJobType

func (c *TestGeneralConfig) GlobalEvmGasLimitDRJobType() (uint32, bool)

func (*TestGeneralConfig) GlobalEvmGasLimitDefault

func (c *TestGeneralConfig) GlobalEvmGasLimitDefault() (uint32, bool)

func (*TestGeneralConfig) GlobalEvmGasLimitFMJobType

func (c *TestGeneralConfig) GlobalEvmGasLimitFMJobType() (uint32, bool)

func (*TestGeneralConfig) GlobalEvmGasLimitKeeperJobType

func (c *TestGeneralConfig) GlobalEvmGasLimitKeeperJobType() (uint32, bool)

func (*TestGeneralConfig) GlobalEvmGasLimitMax

func (c *TestGeneralConfig) GlobalEvmGasLimitMax() (uint32, bool)

func (*TestGeneralConfig) GlobalEvmGasLimitMultiplier

func (c *TestGeneralConfig) GlobalEvmGasLimitMultiplier() (float32, bool)

func (*TestGeneralConfig) GlobalEvmGasLimitOCRJobType

func (c *TestGeneralConfig) GlobalEvmGasLimitOCRJobType() (uint32, bool)

func (*TestGeneralConfig) GlobalEvmGasLimitVRFJobType

func (c *TestGeneralConfig) GlobalEvmGasLimitVRFJobType() (uint32, bool)

func (*TestGeneralConfig) GlobalEvmGasPriceDefault

func (c *TestGeneralConfig) GlobalEvmGasPriceDefault() (*assets.Wei, bool)

func (*TestGeneralConfig) GlobalEvmGasTipCapDefault

func (c *TestGeneralConfig) GlobalEvmGasTipCapDefault() (*assets.Wei, bool)

func (*TestGeneralConfig) GlobalEvmGasTipCapMinimum

func (c *TestGeneralConfig) GlobalEvmGasTipCapMinimum() (*assets.Wei, bool)

func (*TestGeneralConfig) GlobalEvmHeadTrackerHistoryDepth

func (c *TestGeneralConfig) GlobalEvmHeadTrackerHistoryDepth() (uint32, bool)

func (*TestGeneralConfig) GlobalEvmHeadTrackerMaxBufferSize

func (c *TestGeneralConfig) GlobalEvmHeadTrackerMaxBufferSize() (uint32, bool)

func (*TestGeneralConfig) GlobalEvmHeadTrackerSamplingInterval

func (c *TestGeneralConfig) GlobalEvmHeadTrackerSamplingInterval() (time.Duration, bool)

func (*TestGeneralConfig) GlobalEvmLogBackfillBatchSize

func (c *TestGeneralConfig) GlobalEvmLogBackfillBatchSize() (uint32, bool)

func (*TestGeneralConfig) GlobalEvmLogPollInterval

func (c *TestGeneralConfig) GlobalEvmLogPollInterval() (time.Duration, bool)

func (*TestGeneralConfig) GlobalEvmMaxGasPriceWei

func (c *TestGeneralConfig) GlobalEvmMaxGasPriceWei() (*assets.Wei, bool)

func (*TestGeneralConfig) GlobalEvmMinGasPriceWei

func (c *TestGeneralConfig) GlobalEvmMinGasPriceWei() (*assets.Wei, bool)

func (*TestGeneralConfig) GlobalEvmNonceAutoSync

func (c *TestGeneralConfig) GlobalEvmNonceAutoSync() (bool, bool)

func (*TestGeneralConfig) GlobalEvmRPCDefaultBatchSize

func (c *TestGeneralConfig) GlobalEvmRPCDefaultBatchSize() (uint32, bool)

func (*TestGeneralConfig) GlobalEvmUseForwarders

func (c *TestGeneralConfig) GlobalEvmUseForwarders() (bool, bool)

func (*TestGeneralConfig) GlobalFlagsContractAddress

func (c *TestGeneralConfig) GlobalFlagsContractAddress() (string, bool)

func (*TestGeneralConfig) GlobalGasEstimatorMode

func (c *TestGeneralConfig) GlobalGasEstimatorMode() (string, bool)

func (*TestGeneralConfig) GlobalLinkContractAddress

func (c *TestGeneralConfig) GlobalLinkContractAddress() (string, bool)

GlobalLinkContractAddress allows to override the LINK contract address

func (*TestGeneralConfig) GlobalMinIncomingConfirmations

func (c *TestGeneralConfig) GlobalMinIncomingConfirmations() (uint32, bool)

func (*TestGeneralConfig) GlobalMinimumContractPayment

func (c *TestGeneralConfig) GlobalMinimumContractPayment() (*assets.Link, bool)

func (*TestGeneralConfig) GlobalNodeNoNewHeadsThreshold

func (c *TestGeneralConfig) GlobalNodeNoNewHeadsThreshold() (time.Duration, bool)

GlobalNodeNoNewHeadsThreshold overrides NodeNoNewHeadsThreshold for all chains

func (*TestGeneralConfig) GlobalOCR2AutomationGasLimit

func (c *TestGeneralConfig) GlobalOCR2AutomationGasLimit() (uint32, bool)

func (*TestGeneralConfig) GlobalOperatorFactoryAddress

func (c *TestGeneralConfig) GlobalOperatorFactoryAddress() (string, bool)

GlobalOperatorFactoryAddress allows to override the OperatorFactory contract address

func (*TestGeneralConfig) InsecureFastScrypt

func (c *TestGeneralConfig) InsecureFastScrypt() bool

func (*TestGeneralConfig) JobPipelineReaperInterval

func (c *TestGeneralConfig) JobPipelineReaperInterval() time.Duration

func (*TestGeneralConfig) KeeperMaximumGracePeriod

func (c *TestGeneralConfig) KeeperMaximumGracePeriod() int64

func (*TestGeneralConfig) KeeperRegistryMaxPerformDataSize

func (c *TestGeneralConfig) KeeperRegistryMaxPerformDataSize() uint32

func (*TestGeneralConfig) KeeperRegistrySyncInterval

func (c *TestGeneralConfig) KeeperRegistrySyncInterval() time.Duration

func (*TestGeneralConfig) KeeperRegistrySyncUpkeepQueueSize

func (c *TestGeneralConfig) KeeperRegistrySyncUpkeepQueueSize() uint32

func (*TestGeneralConfig) KeeperTurnLookBack

func (c *TestGeneralConfig) KeeperTurnLookBack() int64

func (*TestGeneralConfig) LeaseLockDuration

func (c *TestGeneralConfig) LeaseLockDuration() time.Duration

func (*TestGeneralConfig) LeaseLockRefreshInterval

func (c *TestGeneralConfig) LeaseLockRefreshInterval() time.Duration

func (*TestGeneralConfig) LogFileDir

func (c *TestGeneralConfig) LogFileDir() string

func (*TestGeneralConfig) LogFileMaxAge

func (c *TestGeneralConfig) LogFileMaxAge() int64

LogFileMaxAge allows to override the log file's max age before file rotation.

func (*TestGeneralConfig) LogFileMaxBackups

func (c *TestGeneralConfig) LogFileMaxBackups() int64

LogFileMaxBackups allows to override the max amount of old log files to retain.

func (*TestGeneralConfig) LogFileMaxSize

func (c *TestGeneralConfig) LogFileMaxSize() utils.FileSize

LogFileMaxSize allows to override the log file's max size before file rotation.

func (*TestGeneralConfig) LogLevel

func (c *TestGeneralConfig) LogLevel() zapcore.Level

func (*TestGeneralConfig) LogSQL

func (c *TestGeneralConfig) LogSQL() bool

func (*TestGeneralConfig) MigrateDatabase

func (c *TestGeneralConfig) MigrateDatabase() bool

func (*TestGeneralConfig) OCR2DatabaseTimeout

func (c *TestGeneralConfig) OCR2DatabaseTimeout() time.Duration

OCR2DatabaseTimeout returns the overridden value, if one exists.

func (*TestGeneralConfig) OCRDatabaseTimeout

func (c *TestGeneralConfig) OCRDatabaseTimeout() time.Duration

OCRDatabaseTimeout returns the overridden value, if one exists.

func (*TestGeneralConfig) OCRKeyBundleID

func (c *TestGeneralConfig) OCRKeyBundleID() (string, error)

OCRKeyBundleID returns the overridden value, if one exists.

func (*TestGeneralConfig) OCRObservationTimeout

func (c *TestGeneralConfig) OCRObservationTimeout() time.Duration

OCRObservationTimeout returns the overridden value, if one exists.

func (*TestGeneralConfig) OCRTransmitterAddress

func (c *TestGeneralConfig) OCRTransmitterAddress() (ethkey.EIP55Address, error)

OCRTransmitterAddress returns the overridden value, if one exists.

func (*TestGeneralConfig) ORMMaxIdleConns

func (c *TestGeneralConfig) ORMMaxIdleConns() int

func (*TestGeneralConfig) ORMMaxOpenConns

func (c *TestGeneralConfig) ORMMaxOpenConns() int

func (*TestGeneralConfig) P2PBootstrapCheckInterval

func (c *TestGeneralConfig) P2PBootstrapCheckInterval() time.Duration

P2PBootstrapCheckInterval returns the overridden value, if one exists.

func (*TestGeneralConfig) P2PBootstrapPeers

func (c *TestGeneralConfig) P2PBootstrapPeers() ([]string, error)

P2PBootstrapPeers returns the overridden value, if one exists.

func (*TestGeneralConfig) P2PEnabled

func (c *TestGeneralConfig) P2PEnabled() bool

P2PEnabled overrides

func (*TestGeneralConfig) P2PListenPort

func (c *TestGeneralConfig) P2PListenPort() uint16

P2PListenPort returns the overridden value, if one exists.

func (*TestGeneralConfig) P2PNetworkingStack

func (c *TestGeneralConfig) P2PNetworkingStack() ocrnetworking.NetworkingStack

P2PNetworkingStack stack returns the overridden value, if one exists.

func (*TestGeneralConfig) P2PPeerID

func (c *TestGeneralConfig) P2PPeerID() p2pkey.PeerID

P2PPeerID returns the overridden value or empty.

func (*TestGeneralConfig) P2PV2AnnounceAddresses

func (c *TestGeneralConfig) P2PV2AnnounceAddresses() []string

P2PV2AnnounceAddresses returns the overridden value, if one exists.

func (*TestGeneralConfig) P2PV2Bootstrappers

func (c *TestGeneralConfig) P2PV2Bootstrappers() []ocrcommontypes.BootstrapperLocator

P2PV2Bootstrappers returns the overridden value, if one exists.

func (*TestGeneralConfig) P2PV2DeltaDial

func (c *TestGeneralConfig) P2PV2DeltaDial() models.Duration

P2PV2DeltaDial returns the overridden value, if one exists.

func (*TestGeneralConfig) P2PV2DeltaReconcile

func (c *TestGeneralConfig) P2PV2DeltaReconcile() models.Duration

P2PV2DeltaReconcile returns the overridden value, if one exists.

func (*TestGeneralConfig) P2PV2ListenAddresses

func (c *TestGeneralConfig) P2PV2ListenAddresses() []string

P2PV2ListenAddresses returns the overridden value, if one exists.

func (*TestGeneralConfig) RootDir

func (c *TestGeneralConfig) RootDir() string

func (*TestGeneralConfig) SessionTimeout

func (c *TestGeneralConfig) SessionTimeout() models.Duration

func (*TestGeneralConfig) SetRootDir

func (c *TestGeneralConfig) SetRootDir(dir string)

SetRootDir Added in order to not get a different dir on certain tests that validate this value

func (*TestGeneralConfig) ShutdownGracePeriod

func (c *TestGeneralConfig) ShutdownGracePeriod() time.Duration

ShutdownGracePeriod returns shutdown grace period duration.

func (*TestGeneralConfig) SolanaEnabled

func (c *TestGeneralConfig) SolanaEnabled() bool

SolanaEnabled allows Solana to be used

func (*TestGeneralConfig) StarkNetEnabled

func (c *TestGeneralConfig) StarkNetEnabled() bool

StarkNetEnabled allows StarkNet to be used

func (*TestGeneralConfig) TriggerFallbackDBPollInterval

func (c *TestGeneralConfig) TriggerFallbackDBPollInterval() time.Duration

TriggerFallbackDBPollInterval returns the test configured value for TriggerFallbackDBPollInterval

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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