From 88ef4e0c380824c80d6a6d1a66457eb9606e851a Mon Sep 17 00:00:00 2001 From: krehermann Date: Wed, 7 Feb 2024 16:49:48 -0700 Subject: [PATCH] linter imports --- core/services/ocr2/plugins/mercury/plugin_test.go | 8 +++++--- plugins/cmd/chainlink-mercury/plugin.go | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/core/services/ocr2/plugins/mercury/plugin_test.go b/core/services/ocr2/plugins/mercury/plugin_test.go index 40dba608138..45cdef51fa5 100644 --- a/core/services/ocr2/plugins/mercury/plugin_test.go +++ b/core/services/ocr2/plugins/mercury/plugin_test.go @@ -8,6 +8,8 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/google/uuid" + "github.com/stretchr/testify/assert" + "github.com/smartcontractkit/chainlink-common/pkg/loop" commontypes "github.com/smartcontractkit/chainlink-common/pkg/types" "github.com/smartcontractkit/chainlink-common/pkg/types/mercury" @@ -17,18 +19,18 @@ import ( "github.com/smartcontractkit/chainlink/v2/core/config/env" "github.com/smartcontractkit/chainlink/v2/core/logger" "github.com/smartcontractkit/chainlink/v2/core/services/job" - "github.com/stretchr/testify/assert" mercuryocr2 "github.com/smartcontractkit/chainlink/v2/core/services/ocr2/plugins/mercury" + libocr2 "github.com/smartcontractkit/libocr/offchainreporting2plus" + libocr2types "github.com/smartcontractkit/libocr/offchainreporting2plus/types" + "github.com/smartcontractkit/chainlink/v2/core/services/pg" "github.com/smartcontractkit/chainlink/v2/core/services/pipeline" "github.com/smartcontractkit/chainlink/v2/core/services/relay" "github.com/smartcontractkit/chainlink/v2/core/services/relay/evm/mercury/types" "github.com/smartcontractkit/chainlink/v2/core/services/relay/evm/mercury/utils" "github.com/smartcontractkit/chainlink/v2/plugins" - libocr2 "github.com/smartcontractkit/libocr/offchainreporting2plus" - libocr2types "github.com/smartcontractkit/libocr/offchainreporting2plus/types" ) var ( diff --git a/plugins/cmd/chainlink-mercury/plugin.go b/plugins/cmd/chainlink-mercury/plugin.go index 6e40882a847..07531662ba9 100644 --- a/plugins/cmd/chainlink-mercury/plugin.go +++ b/plugins/cmd/chainlink-mercury/plugin.go @@ -3,6 +3,8 @@ package main import ( "context" + "github.com/smartcontractkit/libocr/offchainreporting2plus/ocr3types" + "github.com/smartcontractkit/chainlink-common/pkg/logger" "github.com/smartcontractkit/chainlink-common/pkg/loop" "github.com/smartcontractkit/chainlink-common/pkg/services" @@ -13,7 +15,6 @@ import ( ds_v1 "github.com/smartcontractkit/chainlink-data-streams/mercury/v1" ds_v2 "github.com/smartcontractkit/chainlink-data-streams/mercury/v2" ds_v3 "github.com/smartcontractkit/chainlink-data-streams/mercury/v3" - "github.com/smartcontractkit/libocr/offchainreporting2plus/ocr3types" ) type Plugin struct {