Skip to content

Commit

Permalink
ci fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bukata-sa committed Jun 26, 2024
1 parent 35a73b8 commit 33cfea0
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 10 deletions.
2 changes: 1 addition & 1 deletion core/internal/mocks/application.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion core/services/chainlink/config_head_report_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package chainlink

import (
"github.com/stretchr/testify/require"
"testing"

"github.com/stretchr/testify/require"
)

func TestHeadReportConfig(t *testing.T) {
Expand Down
22 changes: 21 additions & 1 deletion core/services/chainlink/mocks/general_config.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions core/services/headreporter/head_reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ package headreporter

import (
"context"
"sync"
"time"

"github.com/smartcontractkit/chainlink-common/pkg/sqlutil"
"github.com/smartcontractkit/chainlink/v2/core/config"
"github.com/smartcontractkit/chainlink/v2/core/services/telemetry"
"sync"
"time"

"github.com/smartcontractkit/chainlink-common/pkg/services"
"github.com/smartcontractkit/chainlink-common/pkg/utils/mailbox"
Expand Down
7 changes: 4 additions & 3 deletions core/services/headreporter/head_reporter_test.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
package headreporter_test

import (
"sync/atomic"
"testing"
"time"

"github.com/smartcontractkit/chainlink/v2/core/internal/mocks"
"github.com/smartcontractkit/chainlink/v2/core/internal/testutils"
"github.com/smartcontractkit/chainlink/v2/core/internal/testutils/pgtest"
"github.com/smartcontractkit/chainlink/v2/core/logger"
"github.com/smartcontractkit/chainlink/v2/core/services/headreporter"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
"sync/atomic"
"testing"
"time"
)

func Test_HeadReporterService(t *testing.T) {
Expand Down
5 changes: 3 additions & 2 deletions core/services/headreporter/prometheus_reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ package headreporter
import (
"context"
"fmt"
"math/big"
"time"

"github.com/pkg/errors"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"
Expand All @@ -13,8 +16,6 @@ import (
"github.com/smartcontractkit/chainlink/v2/core/chains/legacyevm"
"github.com/smartcontractkit/chainlink/v2/core/logger"
"go.uber.org/multierr"
"math/big"
"time"
)

type (
Expand Down
1 change: 1 addition & 0 deletions core/services/headreporter/telemetry_reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package headreporter

import (
"context"

evmtypes "github.com/smartcontractkit/chainlink/v2/core/chains/evm/types"
"github.com/smartcontractkit/chainlink/v2/core/chains/legacyevm"
"github.com/smartcontractkit/chainlink/v2/core/logger"
Expand Down

0 comments on commit 33cfea0

Please sign in to comment.