From b696fd07ecca8addacd49fb1ac08aab85153b229 Mon Sep 17 00:00:00 2001 From: Akshay Aggarwal Date: Tue, 27 Feb 2024 15:43:25 +0000 Subject: [PATCH] Add 2.1+ version in job spec (#12182) * Add 2.1+ version in job spec --- core/services/ocr2/delegate.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/services/ocr2/delegate.go b/core/services/ocr2/delegate.go index c838316b1cc..e93196e8ebe 100644 --- a/core/services/ocr2/delegate.go +++ b/core/services/ocr2/delegate.go @@ -1058,6 +1058,9 @@ func (d *Delegate) newServicesOCR2Keepers( switch cfg.ContractVersion { case "v2.1": return d.newServicesOCR2Keepers21(ctx, lggr, jb, bootstrapPeers, kb, ocrDB, lc, ocrLogger, cfg, spec) + case "v2.1+": + // Future contracts of v2.1 (v2.x) will use the same job spec as v2.1 + return d.newServicesOCR2Keepers21(ctx, lggr, jb, bootstrapPeers, kb, ocrDB, lc, ocrLogger, cfg, spec) case "v2.0": return d.newServicesOCR2Keepers20(lggr, jb, bootstrapPeers, kb, ocrDB, lc, ocrLogger, cfg, spec) default: