From 9f8bce8df18d08932c7320210cae53e690cd2b7a Mon Sep 17 00:00:00 2001 From: nogo <110664798+0xnogo@users.noreply.github.com> Date: Tue, 18 Feb 2025 20:41:09 +0400 Subject: [PATCH] Fix Test_GetWrappedNativeTokenPriceUSD (#16454) * Use src reader instead of dest * fix typo --- integration-tests/smoke/ccip/ccip_reader_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/integration-tests/smoke/ccip/ccip_reader_test.go b/integration-tests/smoke/ccip/ccip_reader_test.go index d68242c1c96..27987191e8f 100644 --- a/integration-tests/smoke/ccip/ccip_reader_test.go +++ b/integration-tests/smoke/ccip/ccip_reader_test.go @@ -1006,13 +1006,13 @@ func Test_GetWrappedNativeTokenPriceUSD(t *testing.T) { t, chain1, map[cciptypes.ChainSelector][]types.BoundContract{ - cciptypes.ChainSelector(chain1): { + cciptypes.ChainSelector(chain2): { { - Address: state.Chains[chain1].FeeQuoter.Address().String(), + Address: state.Chains[chain2].FeeQuoter.Address().String(), Name: consts.ContractNameFeeQuoter, }, { - Address: state.Chains[chain1].Router.Address().String(), + Address: state.Chains[chain2].Router.Address().String(), Name: consts.ContractNameRouter, }, }, @@ -1025,7 +1025,7 @@ func Test_GetWrappedNativeTokenPriceUSD(t *testing.T) { // Only chainD has reader contracts bound require.Len(t, prices, 1) - require.Equal(t, testhelpers.DefaultWethPrice, prices[cciptypes.ChainSelector(chain1)].Int) + require.Equal(t, testhelpers.DefaultWethPrice, prices[cciptypes.ChainSelector(chain2)].Int) } // Benchmark Results: