Skip to content

Commit

Permalink
fix arm's deployment (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnieeG authored Nov 27, 2023
1 parent b290541 commit 0d5f86b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration-tests/ccip-tests/actions/ccip_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,11 +395,11 @@ func (ccipModule *CCIPCommon) DeployContracts(noOfTokens int,
}
ccipModule.ARM = arm
} else {
if ccipModule.ExistingDeployment {
return fmt.Errorf("ARM contract address is not provided in lane config")
}
// deploy a mock ARM contract
if ccipModule.ARMContract == nil {
if ccipModule.ExistingDeployment {
return fmt.Errorf("ARM contract address is not provided in lane config")
}
ccipModule.ARMContract, err = cd.DeployMockARMContract()
if err != nil {
return fmt.Errorf("deploying mock ARM contract shouldn't fail %+v", err)
Expand Down

0 comments on commit 0d5f86b

Please sign in to comment.