From 64f27df6e929ef4f1aae675d751908e208b6d95c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 13 Feb 2026 13:47:07 +0000 Subject: [PATCH 1/3] chore(deps): update dependency go to 1.26 --- .github/actions/setup-go/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-go/action.yml b/.github/actions/setup-go/action.yml index 3f7c0bd95..e59519322 100644 --- a/.github/actions/setup-go/action.yml +++ b/.github/actions/setup-go/action.yml @@ -13,7 +13,7 @@ runs: uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 with: check-latest: true - go-version: "1.25" + go-version: "1.26" - name: Verify setup shell: bash From 5f3318ef4a8feb9ae3759abf2b546b3ee428d89d Mon Sep 17 00:00:00 2001 From: Kaloyan Tanev Date: Fri, 13 Feb 2026 17:48:40 +0200 Subject: [PATCH 2/3] Fix linting --- app/errors/errors.go | 1 + app/errors/go113.go | 2 +- core/consensus/metrics/metrics.go | 1 + core/tracker/inclusion.go | 7 +------ 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/app/errors/errors.go b/app/errors/errors.go index 470be3128..a69838dfe 100644 --- a/app/errors/errors.go +++ b/app/errors/errors.go @@ -2,6 +2,7 @@ // Package errors provides errors with structured fields and stack traces. // It is a drop-in replacement for stdlib errors and should be used as such throughout the app. +// nolint:revive package errors import ( diff --git a/app/errors/go113.go b/app/errors/go113.go index 4b3fe526a..10e03ccae 100644 --- a/app/errors/go113.go +++ b/app/errors/go113.go @@ -1,6 +1,6 @@ // Copyright © 2022-2026 Obol Labs Inc. Licensed under the terms of a Business Source License 1.1 -//nolint:wrapcheck +//nolint:wrapcheck,revive package errors import ( diff --git a/core/consensus/metrics/metrics.go b/core/consensus/metrics/metrics.go index eb2997f5d..7ee78c9a6 100644 --- a/core/consensus/metrics/metrics.go +++ b/core/consensus/metrics/metrics.go @@ -1,5 +1,6 @@ // Copyright © 2022-2026 Obol Labs Inc. Licensed under the terms of a Business Source License 1.1 +//nolint:revive package metrics import ( diff --git a/core/tracker/inclusion.go b/core/tracker/inclusion.go index 78e66b576..80883e7ec 100644 --- a/core/tracker/inclusion.go +++ b/core/tracker/inclusion.go @@ -687,12 +687,7 @@ func (a *InclusionChecker) checkBlock(ctx context.Context, slot uint64, attDutie block := eth2Resp.Data - var found bool - if block != nil { - found = true - } else { - found = false - } + found := block != nil a.checkBlockFunc(ctx, slot, found) From 75e8977ca327063bde746406fc90e12a40b7953d Mon Sep 17 00:00:00 2001 From: Kaloyan Tanev Date: Fri, 13 Feb 2026 17:50:42 +0200 Subject: [PATCH 3/3] Bump golangci-lint version --- .github/workflows/golangci-lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 3194f48f2..182f2f914 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -19,4 +19,4 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 with: - version: v2.6.2 + version: v2.9.0