Skip to content

Commit

Permalink
add v2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixFan1992 committed Feb 19, 2024
1 parent ba90f47 commit 9a9177c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration-tests/actions/automationv2/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,12 +372,12 @@ func (a *AutomationTest) AddBootstrapJob() error {

func (a *AutomationTest) AddAutomationJobs() error {
var contractVersion string
if a.RegistrySettings.RegistryVersion == ethereum.RegistryVersion_2_1 {
if a.RegistrySettings.RegistryVersion == ethereum.RegistryVersion_2_1 || a.RegistrySettings.RegistryVersion == ethereum.RegistryVersion_2_2 {
contractVersion = "v2.1"
} else if a.RegistrySettings.RegistryVersion == ethereum.RegistryVersion_2_0 {
contractVersion = "v2.0"
} else {
return fmt.Errorf("v2.0 and v2.1 are the only supported versions")
return fmt.Errorf("v2.0, v2.1, and v2.2 are the only supported versions")
}
for i := 1; i < len(a.ChainlinkNodes); i++ {
autoOCR2JobSpec := client.OCR2TaskJobSpec{
Expand Down

0 comments on commit 9a9177c

Please sign in to comment.