Documentation ¶
Index ¶
- func ContractSetConfigArgsForTests(deltaProgress time.Duration, deltaResend time.Duration, ...) (signers []types.OnchainPublicKey, transmitters []types.Account, f_ uint8, ...)
- func ContractSetConfigArgsForTestsMercuryV02(deltaProgress time.Duration, deltaResend time.Duration, ...) (signers []types.OnchainPublicKey, transmitters []types.Account, f_ uint8, ...)
- type PublicConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContractSetConfigArgsForTests ¶
func ContractSetConfigArgsForTests( deltaProgress time.Duration, deltaResend time.Duration, deltaInitial time.Duration, deltaRound time.Duration, deltaGrace time.Duration, deltaCertifiedCommitRequest time.Duration, deltaStage time.Duration, rMax uint64, s []int, oracles []confighelper.OracleIdentityExtra, reportingPluginConfig []byte, maxDurationQuery time.Duration, maxDurationObservation time.Duration, maxDurationShouldAcceptAttestedReport time.Duration, maxDurationShouldTransmitAcceptedReport time.Duration, f int, onchainConfig []byte, ) ( signers []types.OnchainPublicKey, transmitters []types.Account, f_ uint8, onchainConfig_ []byte, offchainConfigVersion uint64, offchainConfig []byte, err error, )
ContractSetConfigArgsForTestsOCR3 generates setConfig args for OCR3. Only use this for testing, *not* for production.
func ContractSetConfigArgsForTestsMercuryV02 ¶
func ContractSetConfigArgsForTestsMercuryV02( deltaProgress time.Duration, deltaResend time.Duration, deltaInitial time.Duration, deltaRound time.Duration, deltaGrace time.Duration, deltaCertifiedCommitRequest time.Duration, deltaStage time.Duration, rMax uint8, s []int, oracles []confighelper.OracleIdentityExtra, reportingPluginConfig []byte, maxDurationObservation time.Duration, f int, onchainConfig []byte, ) ( signers []types.OnchainPublicKey, transmitters []types.Account, f_ uint8, onchainConfig_ []byte, offchainConfigVersion uint64, offchainConfig []byte, err error, )
ContractSetConfigArgsForTestsWithAuxiliaryArgsMercuryV02 generates setConfig args for mercury v0.2. Only use this for testing, *not* for production.
Types ¶
type PublicConfig ¶
type PublicConfig struct { DeltaProgress time.Duration DeltaResend time.Duration DeltaInitial time.Duration DeltaRound time.Duration DeltaGrace time.Duration DeltaCertifiedCommitRequest time.Duration DeltaStage time.Duration RMax uint64 S []int OracleIdentities []confighelper.OracleIdentity ReportingPluginConfig []byte MaxDurationQuery time.Duration MaxDurationObservation time.Duration MaxDurationShouldAcceptAttestedReport time.Duration MaxDurationShouldTransmitAcceptedReport time.Duration F int OnchainConfig []byte ConfigDigest types.ConfigDigest }
PublicConfig is identical to the internal type in package config. We intentionally make a copy to make potential future internal modifications easier.
func PublicConfigFromContractConfig ¶
func PublicConfigFromContractConfig(skipResourceExhaustionChecks bool, change types.ContractConfig) (PublicConfig, error)
func (PublicConfig) N ¶
func (pc PublicConfig) N() int
Click to show internal directories.
Click to hide internal directories.