Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
bukata-sa committed Jan 20, 2025
1 parent d6aeee8 commit a30f932
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions deployment/environment/crib/ccip_deployer.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ func DeployCCIPAndAddLanes(ctx context.Context, lggr logger.Logger, envConfig de
if err != nil {
return DeployCCIPOutput{}, fmt.Errorf("failed to get node info from env: %w", err)
}
contractParams := make(map[uint64]changeset.ContractParams)
for _, chain := range chainSelectors {
chainConfigs[chain] = changeset.ChainConfig{
Readers: nodeInfo.NonBootstraps().PeerIDs(),
Expand All @@ -113,6 +114,10 @@ func DeployCCIPAndAddLanes(ctx context.Context, lggr logger.Logger, envConfig de
OptimisticConfirmations: 1,
},
}
contractParams[chain] = changeset.ContractParams{
FeeQuoterParams: changeset.DefaultFeeQuoterParams(),
OffRampParams: changeset.DefaultOffRampParams(),
}
}

// Setup because we only need to deploy the contracts and distribute job specs
Expand Down Expand Up @@ -141,8 +146,8 @@ func DeployCCIPAndAddLanes(ctx context.Context, lggr logger.Logger, envConfig de
{
Changeset: commonchangeset.WrapChangeSet(changeset.DeployChainContractsChangeset),
Config: changeset.DeployChainContractsConfig{
ChainSelectors: chainSelectors,
HomeChainSelector: homeChainSel,
HomeChainSelector: homeChainSel,
ContractParamsPerChain: contractParams,
},
},
{
Expand Down

0 comments on commit a30f932

Please sign in to comment.