Skip to content

Commit

Permalink
fix CreateOCRKeeperJobs for v2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhwarrier committed May 8, 2024
1 parent 78e9ab0 commit 5a3b7e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/automation-benchmark-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
TEST_TYPE: ${{ github.event.inputs.testType }}
TEST_TEST_TYPE: ${{ github.event.inputs.testType }}
RR_MEM: 4Gi
TEST_LOG_LEVEL: debug
TEST_LOG_LEVEL: info
with:
test_command_to_run: cd integration-tests && go test -timeout 30m -v -run ^TestAutomationBenchmark$ ./benchmark -count=1
test_download_vendor_packages_command: make gomod
Expand Down
4 changes: 3 additions & 1 deletion integration-tests/actions/automation_ocr_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,10 @@ func CreateOCRKeeperJobs(
contractVersion = "v2.1+"
} else if registryVersion == ethereum.RegistryVersion_2_1 {
contractVersion = "v2.1"
} else if registryVersion == ethereum.RegistryVersion_2_0 {
contractVersion = "v2.0"
} else {
require.FailNow(t, fmt.Sprintf("v2.1, and v2.2 are the only supported versions, but got something else: %v (iota)", registryVersion))
require.FailNow(t, fmt.Sprintf("v2.0, v2.1, and v2.2 are the only supported versions, but got something else: %v (iota)", registryVersion))
}

bootstrapSpec := &client.OCR2TaskJobSpec{
Expand Down

0 comments on commit 5a3b7e8

Please sign in to comment.