Skip to content

Commit

Permalink
ccip: use unknown address type. (#14836)
Browse files Browse the repository at this point in the history
* Use new address type.

gomodtidy

* Use main branch

* Fix weth symbol

* errors
  • Loading branch information
winder authored and cedric-cordenier committed Oct 24, 2024
1 parent ac48d9b commit 5ee611a
Show file tree
Hide file tree
Showing 20 changed files with 37 additions and 45 deletions.
4 changes: 1 addition & 3 deletions core/capabilities/ccip/ccipevm/commitcodec.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import (
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"

"github.com/smartcontractkit/libocr/offchainreporting2plus/types"

cciptypes "github.com/smartcontractkit/chainlink-ccip/pkg/types/ccipocr3"

"github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/ccip_encoding_utils"
Expand Down Expand Up @@ -128,7 +126,7 @@ func (c *CommitPluginCodecV1) Decode(ctx context.Context, bytes []byte) (cciptyp
tokenPriceUpdates := make([]cciptypes.TokenPrice, 0, len(commitReport.PriceUpdates.TokenPriceUpdates))
for _, update := range commitReport.PriceUpdates.TokenPriceUpdates {
tokenPriceUpdates = append(tokenPriceUpdates, cciptypes.TokenPrice{
TokenID: types.Account(update.SourceToken.String()),
TokenID: cciptypes.UnknownEncodedAddress(update.SourceToken.String()),
Price: cciptypes.NewBigInt(big.NewInt(0).Set(update.UsdPerToken)),
})
}
Expand Down
4 changes: 1 addition & 3 deletions core/capabilities/ccip/ccipevm/commitcodec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/smartcontractkit/libocr/offchainreporting2plus/types"

cciptypes "github.com/smartcontractkit/chainlink-ccip/pkg/types/ccipocr3"
"github.com/smartcontractkit/chainlink/v2/core/chains/evm/utils"
"github.com/smartcontractkit/chainlink/v2/core/internal/testutils"
Expand Down Expand Up @@ -41,7 +39,7 @@ var randomCommitReport = func() cciptypes.CommitPluginReport {
PriceUpdates: cciptypes.PriceUpdates{
TokenPriceUpdates: []cciptypes.TokenPrice{
{
TokenID: types.Account(utils.RandomAddress().String()),
TokenID: cciptypes.UnknownEncodedAddress(utils.RandomAddress().String()),
Price: cciptypes.NewBigInt(utils.RandUint256()),
},
},
Expand Down
10 changes: 5 additions & 5 deletions core/capabilities/ccip/ccipevm/executecodec.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,15 +161,15 @@ func (e *ExecutePluginCodecV1) Decode(ctx context.Context, encodedReport []byte)
DestChainSelector: cciptypes.ChainSelector(evmMessage.Header.DestChainSelector),
SequenceNumber: cciptypes.SeqNum(evmMessage.Header.SequenceNumber),
Nonce: evmMessage.Header.Nonce,
MsgHash: cciptypes.Bytes32{}, // <-- todo: info not available, but not required atm
OnRamp: cciptypes.Bytes{}, // <-- todo: info not available, but not required atm
MsgHash: cciptypes.Bytes32{}, // todo: info not available, but not required atm
OnRamp: cciptypes.UnknownAddress{}, // todo: info not available, but not required atm
},
Sender: evmMessage.Sender,
Data: evmMessage.Data,
Receiver: evmMessage.Receiver.Bytes(),
ExtraArgs: cciptypes.Bytes{}, // <-- todo: info not available, but not required atm
FeeToken: cciptypes.Bytes{}, // <-- todo: info not available, but not required atm
FeeTokenAmount: cciptypes.BigInt{}, // <-- todo: info not available, but not required atm
ExtraArgs: cciptypes.Bytes{}, // <-- todo: info not available, but not required atm
FeeToken: cciptypes.UnknownAddress{}, // <-- todo: info not available, but not required atm
FeeTokenAmount: cciptypes.BigInt{}, // <-- todo: info not available, but not required atm
TokenAmounts: tokenAmounts,
}
messages = append(messages, message)
Expand Down
4 changes: 2 additions & 2 deletions core/capabilities/ccip/ccipevm/executecodec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ func TestExecutePluginCodecV1(t *testing.T) {
for i := range report.ChainReports {
for j := range report.ChainReports[i].Messages {
report.ChainReports[i].Messages[j].Header.MsgHash = cciptypes.Bytes32{}
report.ChainReports[i].Messages[j].Header.OnRamp = cciptypes.Bytes{}
report.ChainReports[i].Messages[j].FeeToken = cciptypes.Bytes{}
report.ChainReports[i].Messages[j].Header.OnRamp = cciptypes.UnknownAddress{}
report.ChainReports[i].Messages[j].FeeToken = cciptypes.UnknownAddress{}
report.ChainReports[i].Messages[j].ExtraArgs = cciptypes.Bytes{}
report.ChainReports[i].Messages[j].FeeTokenAmount = cciptypes.BigInt{}
}
Expand Down
2 changes: 1 addition & 1 deletion core/capabilities/ccip/ccipevm/rmncrypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (r *EVMRMNCrypto) VerifyReportSignatures(
_ context.Context,
sigs []cciptypes.RMNECDSASignature,
report cciptypes.RMNReport,
signerAddresses []cciptypes.Bytes,
signerAddresses []cciptypes.UnknownAddress,
) error {
if sigs == nil {
return fmt.Errorf("no signatures provided")
Expand Down
2 changes: 1 addition & 1 deletion core/capabilities/ccip/ccipevm/rmncrypto_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func Test_VerifyRmnReportSignatures(t *testing.T) {
ctx,
[]cciptypes.RMNECDSASignature{{R: r, S: s}},
reportData,
[]cciptypes.Bytes{onchainRmnRemoteAddr.Bytes()},
[]cciptypes.UnknownAddress{onchainRmnRemoteAddr.Bytes()},
)
assert.NoError(t, err)
}
2 changes: 1 addition & 1 deletion core/scripts/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ require (
github.com/shirou/gopsutil/v3 v3.24.3 // indirect
github.com/smartcontractkit/ccip-owner-contracts v0.0.0-20240926212305-a6deabdfce86 // indirect
github.com/smartcontractkit/chain-selectors v1.0.27 // indirect
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241021132654-e5f3ecb77638 // indirect
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241022184834-e8564a286a47 // indirect
github.com/smartcontractkit/chainlink-cosmos v0.5.2-0.20241017133723-5277829bd53f // indirect
github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20241018134907-a00ba3729b5e // indirect
github.com/smartcontractkit/chainlink-feeds v0.1.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions core/scripts/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1072,8 +1072,8 @@ github.com/smartcontractkit/chain-selectors v1.0.27 h1:VE/ftX9Aae4gnw67yR1raKi+3
github.com/smartcontractkit/chain-selectors v1.0.27/go.mod h1:d4Hi+E1zqjy9HqMkjBE5q1vcG9VGgxf5VxiRHfzi2kE=
github.com/smartcontractkit/chainlink-automation v0.8.0 h1:hFz2EHU06bkEfhcqhK8JdjKTWpDOr0XJ6xL9oELDoUg=
github.com/smartcontractkit/chainlink-automation v0.8.0/go.mod h1:ObdjDfgGIaiE48Bb3yYcx1CeGBm392WlEw92U83LlUA=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241021132654-e5f3ecb77638 h1:BS9i2P/b+PsomEP//bH4j6N2a1DCgLVVzoRw02CnN2s=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241021132654-e5f3ecb77638/go.mod h1:4adKaHNaxFsRvV/lYfqtbsWyyvIPUMLR0FdOJN/ljis=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241022184834-e8564a286a47 h1:kyOANlbz29uaevkjRaXlO1750A43xAvwAOKXiVNWpFQ=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241022184834-e8564a286a47/go.mod h1:4adKaHNaxFsRvV/lYfqtbsWyyvIPUMLR0FdOJN/ljis=
github.com/smartcontractkit/chainlink-common v0.3.1-0.20241021103500-39a6e78c0286 h1:qx5p01fqee86cj6EUOCzFc2zILw56v1Q3c5DUuEQWLs=
github.com/smartcontractkit/chainlink-common v0.3.1-0.20241021103500-39a6e78c0286/go.mod h1:tsGgeEJc5SUSlfVGSX0wR0EkRU3pM58D6SKF97V68ko=
github.com/smartcontractkit/chainlink-cosmos v0.5.2-0.20241017133723-5277829bd53f h1:BwrIaQIx5Iy6eT+DfLhFfK2XqjxRm74mVdlX8gbu4dw=
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ require (
github.com/shopspring/decimal v1.4.0
github.com/smartcontractkit/chain-selectors v1.0.27
github.com/smartcontractkit/chainlink-automation v0.8.0
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241021132654-e5f3ecb77638
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241022184834-e8564a286a47
github.com/smartcontractkit/chainlink-common v0.3.1-0.20241021103500-39a6e78c0286
github.com/smartcontractkit/chainlink-cosmos v0.5.2-0.20241017133723-5277829bd53f
github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20241018134907-a00ba3729b5e
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1055,8 +1055,8 @@ github.com/smartcontractkit/chain-selectors v1.0.27 h1:VE/ftX9Aae4gnw67yR1raKi+3
github.com/smartcontractkit/chain-selectors v1.0.27/go.mod h1:d4Hi+E1zqjy9HqMkjBE5q1vcG9VGgxf5VxiRHfzi2kE=
github.com/smartcontractkit/chainlink-automation v0.8.0 h1:hFz2EHU06bkEfhcqhK8JdjKTWpDOr0XJ6xL9oELDoUg=
github.com/smartcontractkit/chainlink-automation v0.8.0/go.mod h1:ObdjDfgGIaiE48Bb3yYcx1CeGBm392WlEw92U83LlUA=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241021132654-e5f3ecb77638 h1:BS9i2P/b+PsomEP//bH4j6N2a1DCgLVVzoRw02CnN2s=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241021132654-e5f3ecb77638/go.mod h1:4adKaHNaxFsRvV/lYfqtbsWyyvIPUMLR0FdOJN/ljis=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241022184834-e8564a286a47 h1:kyOANlbz29uaevkjRaXlO1750A43xAvwAOKXiVNWpFQ=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241022184834-e8564a286a47/go.mod h1:4adKaHNaxFsRvV/lYfqtbsWyyvIPUMLR0FdOJN/ljis=
github.com/smartcontractkit/chainlink-common v0.3.1-0.20241021103500-39a6e78c0286 h1:qx5p01fqee86cj6EUOCzFc2zILw56v1Q3c5DUuEQWLs=
github.com/smartcontractkit/chainlink-common v0.3.1-0.20241021103500-39a6e78c0286/go.mod h1:tsGgeEJc5SUSlfVGSX0wR0EkRU3pM58D6SKF97V68ko=
github.com/smartcontractkit/chainlink-cosmos v0.5.2-0.20241017133723-5277829bd53f h1:BwrIaQIx5Iy6eT+DfLhFfK2XqjxRm74mVdlX8gbu4dw=
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/deployment/ccip/add_chain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ func TestAddChainInbound(t *testing.T) {
tokenConfig := NewTokenConfig()
tokenConfig.UpsertTokenInfo(LinkSymbol,
pluginconfig.TokenInfo{
AggregatorAddress: feeds[LinkSymbol].Address().String(),
AggregatorAddress: cciptypes.UnknownEncodedAddress(feeds[LinkSymbol].Address().String()),
Decimals: LinkDecimals,
DeviationPPB: cciptypes.NewBigIntFromInt64(1e9),
},
)
tokenConfig.UpsertTokenInfo(WethSymbol,
pluginconfig.TokenInfo{
AggregatorAddress: feeds[WethSymbol].Address().String(),
AggregatorAddress: cciptypes.UnknownEncodedAddress(feeds[WethSymbol].Address().String()),
Decimals: WethDecimals,
DeviationPPB: cciptypes.NewBigIntFromInt64(1e9),
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ func TestInitialDeploy(t *testing.T) {
tokenConfig := ccdeploy.NewTokenConfig()
tokenConfig.UpsertTokenInfo(ccdeploy.LinkSymbol,
pluginconfig.TokenInfo{
AggregatorAddress: feeds[ccdeploy.LinkSymbol].Address().String(),
AggregatorAddress: cciptypes.UnknownEncodedAddress(feeds[ccdeploy.LinkSymbol].Address().String()),
Decimals: ccdeploy.LinkDecimals,
DeviationPPB: cciptypes.NewBigIntFromInt64(1e9),
},
)
tokenConfig.UpsertTokenInfo(ccdeploy.WethSymbol,
pluginconfig.TokenInfo{
AggregatorAddress: feeds[ccdeploy.WethSymbol].Address().String(),
AggregatorAddress: cciptypes.UnknownEncodedAddress(feeds[ccdeploy.WethSymbol].Address().String()),
Decimals: ccdeploy.WethDecimals,
DeviationPPB: cciptypes.NewBigIntFromInt64(1e9),
},
Expand Down
6 changes: 2 additions & 4 deletions integration-tests/deployment/ccip/deploy_home_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ import (

confighelper2 "github.com/smartcontractkit/libocr/offchainreporting2plus/confighelper"
"github.com/smartcontractkit/libocr/offchainreporting2plus/ocr3confighelper"
ocrtypes "github.com/smartcontractkit/libocr/offchainreporting2plus/types"

"github.com/smartcontractkit/chainlink/integration-tests/deployment"

cctypes "github.com/smartcontractkit/chainlink/v2/core/capabilities/ccip/types"
"github.com/smartcontractkit/chainlink/v2/core/chains/evm/utils"
"github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/ccip_home"
Expand Down Expand Up @@ -278,7 +276,7 @@ func BuildOCR3ConfigForCCIPHome(
dest deployment.Chain,
feedChainSel uint64,
// Token address on Dest chain to aggregate address on feed chain
tokenInfo map[ocrtypes.Account]pluginconfig.TokenInfo,
tokenInfo map[ccipocr3.UnknownEncodedAddress]pluginconfig.TokenInfo,
nodes deployment.Nodes,
rmnHomeAddress common.Address,
) (map[cctypes.PluginType]ccip_home.CCIPHomeOCR3Config, error) {
Expand Down Expand Up @@ -1002,7 +1000,7 @@ func AddDON(
offRamp *offramp.OffRamp,
feedChainSel uint64,
// Token address on Dest chain to aggregate address on feed chain
tokenInfo map[ocrtypes.Account]pluginconfig.TokenInfo,
tokenInfo map[ccipocr3.UnknownEncodedAddress]pluginconfig.TokenInfo,
dest deployment.Chain,
home deployment.Chain,
nodes deployment.Nodes,
Expand Down
5 changes: 2 additions & 3 deletions integration-tests/deployment/ccip/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package ccipdeployment

import (
"context"

"fmt"
"math/big"
"sort"
Expand Down Expand Up @@ -313,14 +312,14 @@ func NewLocalDevEnvironmentWithRMN(t *testing.T, lggr logger.Logger) (DeployedEn
tokenConfig := NewTokenConfig()
tokenConfig.UpsertTokenInfo(LinkSymbol,
pluginconfig.TokenInfo{
AggregatorAddress: feeds[LinkSymbol].Address().String(),
AggregatorAddress: cciptypes.UnknownEncodedAddress(feeds[LinkSymbol].Address().String()),
Decimals: LinkDecimals,
DeviationPPB: cciptypes.NewBigIntFromInt64(1e9),
},
)
tokenConfig.UpsertTokenInfo(WethSymbol,
pluginconfig.TokenInfo{
AggregatorAddress: feeds[WethSymbol].Address().String(),
AggregatorAddress: cciptypes.UnknownEncodedAddress(feeds[WethSymbol].Address().String()),
Decimals: WethDecimals,
DeviationPPB: cciptypes.NewBigIntFromInt64(1e9),
},
Expand Down
11 changes: 5 additions & 6 deletions integration-tests/deployment/ccip/token_info.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
package ccipdeployment

import (
"github.com/smartcontractkit/chainlink-ccip/pkg/types/ccipocr3"
"github.com/smartcontractkit/chainlink-ccip/pluginconfig"
"github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/weth9"
"github.com/smartcontractkit/chainlink/v2/core/gethwrappers/shared/generated/burn_mint_erc677"

"github.com/smartcontractkit/chainlink-common/pkg/logger"

ocrtypes "github.com/smartcontractkit/libocr/offchainreporting2plus/types"
)

// TokenConfig mapping between token Symbol (e.g. LinkSymbol, WethSymbol)
Expand All @@ -34,21 +33,21 @@ func (tc *TokenConfig) GetTokenInfo(
lggr logger.Logger,
linkToken *burn_mint_erc677.BurnMintERC677,
wethToken *weth9.WETH9,
) map[ocrtypes.Account]pluginconfig.TokenInfo {
tokenToAggregate := make(map[ocrtypes.Account]pluginconfig.TokenInfo)
) map[ccipocr3.UnknownEncodedAddress]pluginconfig.TokenInfo {
tokenToAggregate := make(map[ccipocr3.UnknownEncodedAddress]pluginconfig.TokenInfo)
if _, ok := tc.TokenSymbolToInfo[LinkSymbol]; !ok {
lggr.Debugw("Link aggregator not found, deploy without mapping link token")
} else {
lggr.Debugw("Mapping LinkToken to Link aggregator")
acc := ocrtypes.Account(linkToken.Address().String())
acc := ccipocr3.UnknownEncodedAddress(linkToken.Address().String())
tokenToAggregate[acc] = tc.TokenSymbolToInfo[LinkSymbol]
}

if _, ok := tc.TokenSymbolToInfo[WethSymbol]; !ok {
lggr.Debugw("Weth aggregator not found, deploy without mapping link token")
} else {
lggr.Debugw("Mapping WethToken to Weth aggregator")
acc := ocrtypes.Account(wethToken.Address().String())
acc := ccipocr3.UnknownEncodedAddress(wethToken.Address().String())
tokenToAggregate[acc] = tc.TokenSymbolToInfo[WethSymbol]
}

Expand Down
2 changes: 1 addition & 1 deletion integration-tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ require (
github.com/smartcontractkit/ccip-owner-contracts v0.0.0-20240926212305-a6deabdfce86
github.com/smartcontractkit/chain-selectors v1.0.27
github.com/smartcontractkit/chainlink-automation v0.8.0
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241021132654-e5f3ecb77638
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241022184834-e8564a286a47
github.com/smartcontractkit/chainlink-common v0.3.1-0.20241021103500-39a6e78c0286
github.com/smartcontractkit/chainlink-protos/job-distributor v0.4.0
github.com/smartcontractkit/chainlink-testing-framework/havoc v1.50.0
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1402,8 +1402,8 @@ github.com/smartcontractkit/chain-selectors v1.0.27 h1:VE/ftX9Aae4gnw67yR1raKi+3
github.com/smartcontractkit/chain-selectors v1.0.27/go.mod h1:d4Hi+E1zqjy9HqMkjBE5q1vcG9VGgxf5VxiRHfzi2kE=
github.com/smartcontractkit/chainlink-automation v0.8.0 h1:hFz2EHU06bkEfhcqhK8JdjKTWpDOr0XJ6xL9oELDoUg=
github.com/smartcontractkit/chainlink-automation v0.8.0/go.mod h1:ObdjDfgGIaiE48Bb3yYcx1CeGBm392WlEw92U83LlUA=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241021132654-e5f3ecb77638 h1:BS9i2P/b+PsomEP//bH4j6N2a1DCgLVVzoRw02CnN2s=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241021132654-e5f3ecb77638/go.mod h1:4adKaHNaxFsRvV/lYfqtbsWyyvIPUMLR0FdOJN/ljis=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241022184834-e8564a286a47 h1:kyOANlbz29uaevkjRaXlO1750A43xAvwAOKXiVNWpFQ=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241022184834-e8564a286a47/go.mod h1:4adKaHNaxFsRvV/lYfqtbsWyyvIPUMLR0FdOJN/ljis=
github.com/smartcontractkit/chainlink-common v0.3.1-0.20241021103500-39a6e78c0286 h1:qx5p01fqee86cj6EUOCzFc2zILw56v1Q3c5DUuEQWLs=
github.com/smartcontractkit/chainlink-common v0.3.1-0.20241021103500-39a6e78c0286/go.mod h1:tsGgeEJc5SUSlfVGSX0wR0EkRU3pM58D6SKF97V68ko=
github.com/smartcontractkit/chainlink-cosmos v0.5.2-0.20241017133723-5277829bd53f h1:BwrIaQIx5Iy6eT+DfLhFfK2XqjxRm74mVdlX8gbu4dw=
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/load/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ require (
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/smartcontractkit/chain-selectors v1.0.27 // indirect
github.com/smartcontractkit/chainlink-automation v0.8.0 // indirect
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241021132654-e5f3ecb77638 // indirect
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241022184834-e8564a286a47 // indirect
github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20241018134907-a00ba3729b5e // indirect
github.com/smartcontractkit/chainlink-feeds v0.1.1 // indirect
github.com/smartcontractkit/chainlink-protos/orchestrator v0.3.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/load/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1379,8 +1379,8 @@ github.com/smartcontractkit/chain-selectors v1.0.27 h1:VE/ftX9Aae4gnw67yR1raKi+3
github.com/smartcontractkit/chain-selectors v1.0.27/go.mod h1:d4Hi+E1zqjy9HqMkjBE5q1vcG9VGgxf5VxiRHfzi2kE=
github.com/smartcontractkit/chainlink-automation v0.8.0 h1:hFz2EHU06bkEfhcqhK8JdjKTWpDOr0XJ6xL9oELDoUg=
github.com/smartcontractkit/chainlink-automation v0.8.0/go.mod h1:ObdjDfgGIaiE48Bb3yYcx1CeGBm392WlEw92U83LlUA=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241021132654-e5f3ecb77638 h1:BS9i2P/b+PsomEP//bH4j6N2a1DCgLVVzoRw02CnN2s=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241021132654-e5f3ecb77638/go.mod h1:4adKaHNaxFsRvV/lYfqtbsWyyvIPUMLR0FdOJN/ljis=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241022184834-e8564a286a47 h1:kyOANlbz29uaevkjRaXlO1750A43xAvwAOKXiVNWpFQ=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241022184834-e8564a286a47/go.mod h1:4adKaHNaxFsRvV/lYfqtbsWyyvIPUMLR0FdOJN/ljis=
github.com/smartcontractkit/chainlink-common v0.3.1-0.20241021103500-39a6e78c0286 h1:qx5p01fqee86cj6EUOCzFc2zILw56v1Q3c5DUuEQWLs=
github.com/smartcontractkit/chainlink-common v0.3.1-0.20241021103500-39a6e78c0286/go.mod h1:tsGgeEJc5SUSlfVGSX0wR0EkRU3pM58D6SKF97V68ko=
github.com/smartcontractkit/chainlink-cosmos v0.5.2-0.20241017133723-5277829bd53f h1:BwrIaQIx5Iy6eT+DfLhFfK2XqjxRm74mVdlX8gbu4dw=
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/smoke/ccip_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestInitialDeployOnLocal(t *testing.T) {
tokenConfig := ccdeploy.NewTokenConfig()
tokenConfig.UpsertTokenInfo(ccdeploy.LinkSymbol,
pluginconfig.TokenInfo{
AggregatorAddress: feeds[ccdeploy.LinkSymbol].Address().String(),
AggregatorAddress: cciptypes.UnknownEncodedAddress(feeds[ccdeploy.LinkSymbol].Address().String()),
Decimals: ccdeploy.LinkDecimals,
DeviationPPB: cciptypes.NewBigIntFromInt64(1e9),
},
Expand Down

0 comments on commit 5ee611a

Please sign in to comment.