Skip to content

Commit a4bd7ff

Browse files
authored
*: bump golangci-lint v2.6.2 (#4142)
As per the title category: misc ticket: none
1 parent fd868b2 commit a4bd7ff

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
- name: golangci-lint
2020
uses: golangci/golangci-lint-action@e7fa5ac41e1cf5b7d48e45e42232ce7ada589601 # v9.1.0
2121
with:
22-
version: v2.6.1
22+
version: v2.6.2

cmd/testmev.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ func getBlockHeader(ctx context.Context, target string, headers map[string]strin
445445
for k, v := range headers {
446446
req.Header.Set(k, v)
447447
}
448+
448449
req.Header.Set("Date-Milliseconds", strconv.FormatInt(time.Now().UnixMilli(), 10))
449450

450451
resp, err := http.DefaultTransport.RoundTrip(req)

core/fetcher/fetcher.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ func (f *Fetcher) fetchProposerData(ctx context.Context, slot uint64, defSet cor
310310
if proposal.Blinded {
311311
blinded = 1
312312
}
313+
313314
proposalBlindedGauge.Set(blinded)
314315

315316
resp[pubkey] = coreProposal

core/fetcher/metrics.go

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@ import (
88
"github.com/obolnetwork/charon/app/promauto"
99
)
1010

11-
var (
12-
proposalBlindedGauge = promauto.NewGauge(prometheus.GaugeOpts{
13-
Namespace: "core",
14-
Subsystem: "fetcher",
15-
Name: "proposal_blinded",
16-
Help: "Whether the fetched proposal was blinded (1) or local (0)",
17-
})
18-
)
11+
var proposalBlindedGauge = promauto.NewGauge(prometheus.GaugeOpts{
12+
Namespace: "core",
13+
Subsystem: "fetcher",
14+
Name: "proposal_blinded",
15+
Help: "Whether the fetched proposal was blinded (1) or local (0)",
16+
})

0 commit comments

Comments
 (0)