From 24345c33a5ab0fcbeaac0e029e0067f7dfc1e437 Mon Sep 17 00:00:00 2001 From: Mateusz Sekara Date: Fri, 5 Jul 2024 11:28:10 +0200 Subject: [PATCH] Linter fixes --- core/services/ocr2/plugins/ccip/internal/ccipdata/reader.go | 2 +- .../ocr2/plugins/ccip/internal/ccipdata/v1_0_0/onramp.go | 4 ++-- .../ocr2/plugins/ccip/internal/ccipdata/v1_0_0/onramp_test.go | 3 ++- .../ocr2/plugins/ccip/internal/ccipdata/v1_2_0/onramp.go | 4 ++-- .../ocr2/plugins/ccip/internal/ccipdata/v1_2_0/onramp_test.go | 3 ++- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/core/services/ocr2/plugins/ccip/internal/ccipdata/reader.go b/core/services/ocr2/plugins/ccip/internal/ccipdata/reader.go index 477b0651536..e87c13d8a51 100644 --- a/core/services/ocr2/plugins/ccip/internal/ccipdata/reader.go +++ b/core/services/ocr2/plugins/ccip/internal/ccipdata/reader.go @@ -5,9 +5,9 @@ import ( "time" "github.com/ethereum/go-ethereum/core/types" - "github.com/smartcontractkit/chainlink-common/pkg/types/query/primitives" cciptypes "github.com/smartcontractkit/chainlink-common/pkg/types/ccip" + "github.com/smartcontractkit/chainlink-common/pkg/types/query/primitives" "github.com/smartcontractkit/chainlink/v2/core/chains/evm/logpoller" evmtypes "github.com/smartcontractkit/chainlink/v2/core/chains/evm/types" diff --git a/core/services/ocr2/plugins/ccip/internal/ccipdata/v1_0_0/onramp.go b/core/services/ocr2/plugins/ccip/internal/ccipdata/v1_0_0/onramp.go index 12ae1307e0b..c32f4de6767 100644 --- a/core/services/ocr2/plugins/ccip/internal/ccipdata/v1_0_0/onramp.go +++ b/core/services/ocr2/plugins/ccip/internal/ccipdata/v1_0_0/onramp.go @@ -8,11 +8,11 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi/bind" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" - "github.com/smartcontractkit/chainlink-common/pkg/types/query" - "github.com/smartcontractkit/chainlink-common/pkg/types/query/primitives" "github.com/smartcontractkit/chainlink-common/pkg/hashutil" cciptypes "github.com/smartcontractkit/chainlink-common/pkg/types/ccip" + "github.com/smartcontractkit/chainlink-common/pkg/types/query" + "github.com/smartcontractkit/chainlink-common/pkg/types/query/primitives" "github.com/smartcontractkit/chainlink/v2/core/chains/evm/client" "github.com/smartcontractkit/chainlink/v2/core/chains/evm/logpoller" diff --git a/core/services/ocr2/plugins/ccip/internal/ccipdata/v1_0_0/onramp_test.go b/core/services/ocr2/plugins/ccip/internal/ccipdata/v1_0_0/onramp_test.go index c63dc69cfb8..a1b3f738008 100644 --- a/core/services/ocr2/plugins/ccip/internal/ccipdata/v1_0_0/onramp_test.go +++ b/core/services/ocr2/plugins/ccip/internal/ccipdata/v1_0_0/onramp_test.go @@ -6,10 +6,11 @@ import ( "time" "github.com/ethereum/go-ethereum/common" - cciptypes "github.com/smartcontractkit/chainlink-common/pkg/types/ccip" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + cciptypes "github.com/smartcontractkit/chainlink-common/pkg/types/ccip" + "github.com/smartcontractkit/chainlink/v2/core/chains/evm/logpoller" "github.com/smartcontractkit/chainlink/v2/core/chains/evm/utils" ubig "github.com/smartcontractkit/chainlink/v2/core/chains/evm/utils/big" diff --git a/core/services/ocr2/plugins/ccip/internal/ccipdata/v1_2_0/onramp.go b/core/services/ocr2/plugins/ccip/internal/ccipdata/v1_2_0/onramp.go index f0a10e50cc9..2a242335e23 100644 --- a/core/services/ocr2/plugins/ccip/internal/ccipdata/v1_2_0/onramp.go +++ b/core/services/ocr2/plugins/ccip/internal/ccipdata/v1_2_0/onramp.go @@ -9,11 +9,11 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi/bind" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" - "github.com/smartcontractkit/chainlink-common/pkg/types/query" - "github.com/smartcontractkit/chainlink-common/pkg/types/query/primitives" "github.com/smartcontractkit/chainlink-common/pkg/hashutil" cciptypes "github.com/smartcontractkit/chainlink-common/pkg/types/ccip" + "github.com/smartcontractkit/chainlink-common/pkg/types/query" + "github.com/smartcontractkit/chainlink-common/pkg/types/query/primitives" "github.com/smartcontractkit/chainlink/v2/core/chains/evm/client" "github.com/smartcontractkit/chainlink/v2/core/chains/evm/logpoller" diff --git a/core/services/ocr2/plugins/ccip/internal/ccipdata/v1_2_0/onramp_test.go b/core/services/ocr2/plugins/ccip/internal/ccipdata/v1_2_0/onramp_test.go index 228f380cd7c..741c42a964c 100644 --- a/core/services/ocr2/plugins/ccip/internal/ccipdata/v1_2_0/onramp_test.go +++ b/core/services/ocr2/plugins/ccip/internal/ccipdata/v1_2_0/onramp_test.go @@ -6,10 +6,11 @@ import ( "time" "github.com/ethereum/go-ethereum/common" - cciptypes "github.com/smartcontractkit/chainlink-common/pkg/types/ccip" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + cciptypes "github.com/smartcontractkit/chainlink-common/pkg/types/ccip" + "github.com/smartcontractkit/chainlink/v2/core/chains/evm/logpoller" "github.com/smartcontractkit/chainlink/v2/core/chains/evm/utils" ubig "github.com/smartcontractkit/chainlink/v2/core/chains/evm/utils/big"