Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AnieeG committed Jul 8, 2024
1 parent e3c65d5 commit 55fc2f8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions integration-tests/ccip-tests/actions/ccip_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -1212,9 +1212,11 @@ func NewCCIPCommonFromConfig(
if err != nil {
return nil, err
}
newCCIPModule.PriceRegistry, err = newCCIPModule.Deployer.NewPriceRegistry(common.HexToAddress(newCCIPModule.PriceRegistry.Address()))
if err != nil {
return nil, err
if newCCIPModule.PriceRegistry != nil {
newCCIPModule.PriceRegistry, err = newCCIPModule.Deployer.NewPriceRegistry(common.HexToAddress(newCCIPModule.PriceRegistry.Address()))
if err != nil {
return nil, err
}
}
newCCIPModule.Router, err = newCCIPModule.Deployer.NewRouter(common.HexToAddress(newCCIPModule.Router.Address()))
if err != nil {
Expand Down

0 comments on commit 55fc2f8

Please sign in to comment.