Documentation
¶
Index ¶
- func BigIntSliceContains(slice []*big.Int, b *big.Int) bool
- func BuildBootstrapSpec(verifierAddr common.Address, chainID int64, feedId [32]byte) *coreClient.OCR2TaskJobSpec
- func BuildBridges(eaUrls []*url.URL) []coreClient.BridgeTypeAttributes
- func BuildOCRSpec(verifierAddr common.Address, chainID int64, fromBlock uint64, feedId [32]byte, ...) *coreClient.OCR2TaskJobSpec
- func MergeSethAndEvmNetworkConfigs(evmNetwork blockchain.EVMNetwork, sethConfig seth.Config) (seth.Config, error)
- func MustIP(s string) *net.IP
- func MustReplaceSimulatedNetworkUrlWithK8(l zerolog.Logger, network blockchain.EVMNetwork, ...) blockchain.EVMNetwork
- func MustURL(s string) *commonconfig.URL
- func ValidateSethNetworkConfig(cfg *seth.Network) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildBootstrapSpec ¶
func BuildBootstrapSpec(verifierAddr common.Address, chainID int64, feedId [32]byte) *coreClient.OCR2TaskJobSpec
func BuildBridges ¶
func BuildBridges(eaUrls []*url.URL) []coreClient.BridgeTypeAttributes
func BuildOCRSpec ¶
func BuildOCRSpec( verifierAddr common.Address, chainID int64, fromBlock uint64, feedId [32]byte, bridges []coreClient.BridgeTypeAttributes, csaPubKey string, msRemoteUrl string, msPubKey string, nodeOCRKey string, p2pV2Bootstrapper string, allowedFaults int) *coreClient.OCR2TaskJobSpec
func MergeSethAndEvmNetworkConfigs ¶
func MergeSethAndEvmNetworkConfigs(evmNetwork blockchain.EVMNetwork, sethConfig seth.Config) (seth.Config, error)
MergeSethAndEvmNetworkConfigs merges EVMNetwork to Seth config. If Seth config already has Network settings, it will return unchanged Seth config that was passed to it. If the network is simulated, it will use Geth-specific settings. Otherwise it will use the chain ID to find the correct network settings. If no match is found it will return error.
func MustReplaceSimulatedNetworkUrlWithK8 ¶
func MustReplaceSimulatedNetworkUrlWithK8(l zerolog.Logger, network blockchain.EVMNetwork, testEnvironment environment.Environment) blockchain.EVMNetwork
MustReplaceSimulatedNetworkUrlWithK8 replaces the simulated network URL with the K8 URL and returns the network. If the network is not simulated, it will return the network unchanged.
func MustURL ¶
func MustURL(s string) *commonconfig.URL
func ValidateSethNetworkConfig ¶
ValidateSethNetworkConfig validates the Seth network config
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.