From 58b0e2536cad8f183865cc2004cd6969492c0816 Mon Sep 17 00:00:00 2001 From: FelixFan1992 Date: Mon, 13 Nov 2023 13:38:17 -0500 Subject: [PATCH] add ocr3-automation telemetry type (#11087) * add ocr3-automation telemetry type * pass ocr3 automation telem type to 2.1 --- core/services/ocr2/delegate.go | 2 +- core/services/synchronization/common.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/services/ocr2/delegate.go b/core/services/ocr2/delegate.go index 9905ed6ae6c..bbb3b5cf7ae 100644 --- a/core/services/ocr2/delegate.go +++ b/core/services/ocr2/delegate.go @@ -1122,7 +1122,7 @@ func (d *Delegate) newServicesOCR2Keepers21( ContractConfigTracker: keeperProvider.ContractConfigTracker(), KeepersDatabase: ocrDB, Logger: ocrLogger, - MonitoringEndpoint: d.monitoringEndpointGen.GenMonitoringEndpoint(rid.Network, rid.ChainID, spec.ContractID, synchronization.OCR2Automation), + MonitoringEndpoint: d.monitoringEndpointGen.GenMonitoringEndpoint(rid.Network, rid.ChainID, spec.ContractID, synchronization.OCR3Automation), OffchainConfigDigester: keeperProvider.OffchainConfigDigester(), OffchainKeyring: kb, OnchainKeyring: services.Keyring(), diff --git a/core/services/synchronization/common.go b/core/services/synchronization/common.go index 32f3a86c6f9..584f5b24380 100644 --- a/core/services/synchronization/common.go +++ b/core/services/synchronization/common.go @@ -22,6 +22,7 @@ const ( OCR3Mercury TelemetryType = "ocr3-mercury" OCR2VRF TelemetryType = "ocr2-vrf" AutomationCustom TelemetryType = "automation-custom" + OCR3Automation TelemetryType = "ocr3-automation" ) type TelemPayload struct {