Skip to content

Commit

Permalink
update logger
Browse files Browse the repository at this point in the history
  • Loading branch information
AnieeG committed Nov 26, 2024
1 parent 365491b commit 2952585
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deployment/ccip/changeset/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ func deployCCIPContracts(
e.Logger.Errorw("Failed to load existing onchain state", "err", err)
return err
}
tokenInfo := c.TokenConfig.GetTokenInfo(nil, state.Chains[c.FeedChainSel].LinkToken, state.Chains[c.FeedChainSel].Weth9)
tokenInfo := c.TokenConfig.GetTokenInfo(e.Logger, state.Chains[c.FeedChainSel].LinkToken, state.Chains[c.FeedChainSel].Weth9)
ocrParams := make(map[uint64]CCIPOCRParams)
for _, chain := range c.ChainsToDeploy {
ocrParams[chain] = DefaultOCRParams(c.FeedChainSel, tokenInfo)
Expand Down
2 changes: 1 addition & 1 deletion deployment/ccip/changeset/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ func NewMemoryEnvironmentWithJobsAndContracts(t *testing.T, lggr logger.Logger,
})
}

tokenInfo := tokenConfig.GetTokenInfo(nil, state.Chains[e.FeedChainSel].LinkToken, state.Chains[e.FeedChainSel].Weth9)
tokenInfo := tokenConfig.GetTokenInfo(e.Env.Logger, state.Chains[e.FeedChainSel].LinkToken, state.Chains[e.FeedChainSel].Weth9)
for _, chain := range allChains {
timelocksPerChain[chain] = state.Chains[chain].Timelock
ocrParams[chain] = DefaultOCRParams(e.FeedChainSel, tokenInfo)
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/testsetups/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func NewLocalDevEnvironment(
}
require.NotNil(t, state.Chains[feedSel].LinkToken)
require.NotNil(t, state.Chains[feedSel].Weth9)
tokenInfo := tokenConfig.GetTokenInfo(nil, state.Chains[feedSel].LinkToken, state.Chains[feedSel].Weth9)
tokenInfo := tokenConfig.GetTokenInfo(env.Logger, state.Chains[feedSel].LinkToken, state.Chains[feedSel].Weth9)
for _, chain := range allChains {
timelocksPerChain[chain] = state.Chains[chain].Timelock
ocrParams[chain] = changeset.DefaultOCRParams(feedSel, tokenInfo)
Expand Down

0 comments on commit 2952585

Please sign in to comment.