Skip to content

Commit

Permalink
Add 2.1+ version in job spec (#12182)
Browse files Browse the repository at this point in the history
* Add 2.1+ version in job spec
  • Loading branch information
infiloop2 authored Feb 27, 2024
1 parent 9659252 commit b696fd0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/services/ocr2/delegate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b696fd0

Please sign in to comment.