From a30f9327f9803c3d7855116f8b0d617b399cc27e Mon Sep 17 00:00:00 2001 From: Aleksandr Bukata Date: Mon, 20 Jan 2025 22:14:35 +0700 Subject: [PATCH] fix test --- deployment/environment/crib/ccip_deployer.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/deployment/environment/crib/ccip_deployer.go b/deployment/environment/crib/ccip_deployer.go index 9aa7972585d..52909947585 100644 --- a/deployment/environment/crib/ccip_deployer.go +++ b/deployment/environment/crib/ccip_deployer.go @@ -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(), @@ -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 @@ -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, }, }, {