Skip to content

Commit 6a19c07

Browse files
committed
chore: Update to newer geth and tooling in anticipation of Pectra
1 parent 67003f8 commit 6a19c07

File tree

7 files changed

+130
-99
lines changed

7 files changed

+130
-99
lines changed

.github/workflows/checks.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Set up Go
1111
uses: actions/setup-go@v3
1212
with:
13-
go-version: ^1.20
13+
go-version: ^1.22
1414
id: go
1515

1616
- name: Check out code into the Go module directory
@@ -35,7 +35,7 @@ jobs:
3535
- name: Set up Go
3636
uses: actions/setup-go@v3
3737
with:
38-
go-version: ^1.20
38+
go-version: ^1.22
3939
id: go
4040

4141
- name: Check out code into the Go module directory
@@ -45,10 +45,10 @@ jobs:
4545
run: go install mvdan.cc/gofumpt@v0.5.0
4646

4747
- name: Install staticcheck
48-
run: go install honnef.co/go/tools/cmd/staticcheck@2023.1.7
48+
run: go install honnef.co/go/tools/cmd/staticcheck@2024.1.1
4949

5050
- name: Install golangci-lint
51-
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.57.2
51+
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.61.0
5252

5353
- name: Lint
5454
run: make lint

.golangci.yaml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
linters:
2-
enable-all: true
2+
enable-all: false
33
disable:
44
- cyclop
55
- forbidigo
@@ -16,41 +16,29 @@ linters:
1616
- nlreturn
1717
- noctx
1818
- nonamedreturns
19-
- nosnakecase
2019
- paralleltest
2120
- revive
2221
- testpackage
2322
- unparam
2423
- varnamelen
2524
- wrapcheck
2625
- wsl
27-
- deadcode
28-
- varcheck
29-
- exhaustruct
3026
- nolintlint
31-
- depguard
32-
- testifylint
33-
- perfsprint
34-
- gofumpt
27+
- tagliatelle
3528

3629
#
3730
# Disabled because of generics:
3831
#
3932
- contextcheck
4033
- rowserrcheck
4134
- sqlclosecheck
42-
- structcheck
4335
- wastedassign
4436

4537
#
4638
# Disabled because deprecated:
4739
#
48-
- exhaustivestruct
49-
- golint
50-
- ifshort
51-
- interfacer
52-
- maligned
53-
- scopelint
40+
- exportloopref
41+
- execinquery
5442

5543
linters-settings:
5644
#

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1
2-
FROM golang:1.20 as builder
2+
FROM golang:1.22 as builder
33
ARG VERSION
44
WORKDIR /build
55
ADD . /build/

go.mod

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,56 @@
11
module github.com/flashbots/mev-share-node
22

3-
go 1.20
3+
go 1.22
4+
5+
toolchain go1.23.2
46

57
require (
68
github.com/VictoriaMetrics/metrics v1.24.0
79
github.com/cenkalti/backoff/v4 v4.2.0
8-
github.com/ethereum/go-ethereum v1.13.11
10+
github.com/ethereum/go-ethereum v1.14.12
911
github.com/flashbots/go-utils v0.4.11
1012
github.com/jmoiron/sqlx v1.3.5
1113
github.com/lib/pq v1.2.0
1214
github.com/patrickmn/go-cache v2.1.0+incompatible
1315
github.com/redis/go-redis/v9 v9.0.2
14-
github.com/stretchr/testify v1.8.4
16+
github.com/stretchr/testify v1.9.0
1517
github.com/ybbus/jsonrpc/v3 v3.1.4
1618
go.uber.org/zap v1.23.0
17-
golang.org/x/crypto v0.17.0
18-
golang.org/x/time v0.3.0
19+
golang.org/x/crypto v0.22.0
20+
golang.org/x/time v0.5.0
1921
gopkg.in/yaml.v3 v3.0.1
2022
)
2123

2224
require (
23-
github.com/Microsoft/go-winio v0.6.1 // indirect
25+
github.com/Microsoft/go-winio v0.6.2 // indirect
2426
github.com/StackExchange/wmi v1.2.1 // indirect
25-
github.com/bits-and-blooms/bitset v1.10.0 // indirect
26-
github.com/btcsuite/btcd/btcec/v2 v2.2.1 // indirect
27-
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.2 // indirect
28-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
27+
github.com/bits-and-blooms/bitset v1.13.0 // indirect
28+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
2929
github.com/consensys/bavard v0.1.13 // indirect
3030
github.com/consensys/gnark-crypto v0.12.1 // indirect
31-
github.com/crate-crypto/go-kzg-4844 v0.7.0 // indirect
31+
github.com/crate-crypto/go-ipa v0.0.0-20240223125850-b1e8a79f509c // indirect
32+
github.com/crate-crypto/go-kzg-4844 v1.0.0 // indirect
3233
github.com/davecgh/go-spew v1.1.1 // indirect
33-
github.com/deckarep/golang-set/v2 v2.1.0 // indirect
34+
github.com/deckarep/golang-set/v2 v2.6.0 // indirect
3435
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect
3536
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
36-
github.com/ethereum/c-kzg-4844 v0.4.0 // indirect
37+
github.com/ethereum/c-kzg-4844 v1.0.0 // indirect
38+
github.com/ethereum/go-verkle v0.1.1-0.20240829091221-dffa7562dbe9 // indirect
3739
github.com/go-ole/go-ole v1.3.0 // indirect
3840
github.com/gorilla/websocket v1.4.2 // indirect
39-
github.com/holiman/uint256 v1.2.4 // indirect
41+
github.com/holiman/uint256 v1.3.1 // indirect
4042
github.com/mmcloughlin/addchain v0.4.0 // indirect
4143
github.com/pmezard/go-difflib v1.0.0 // indirect
4244
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect
43-
github.com/supranational/blst v0.3.11 // indirect
45+
github.com/supranational/blst v0.3.13 // indirect
4446
github.com/tklauser/go-sysconf v0.3.12 // indirect
4547
github.com/tklauser/numcpus v0.6.1 // indirect
4648
github.com/valyala/fastrand v1.1.0 // indirect
4749
github.com/valyala/histogram v1.2.0 // indirect
4850
go.uber.org/atomic v1.10.0 // indirect
4951
go.uber.org/multierr v1.8.0 // indirect
5052
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect
51-
golang.org/x/mod v0.14.0 // indirect
52-
golang.org/x/sync v0.5.0 // indirect
53-
golang.org/x/sys v0.16.0 // indirect
54-
golang.org/x/tools v0.15.0 // indirect
53+
golang.org/x/sync v0.7.0 // indirect
54+
golang.org/x/sys v0.22.0 // indirect
5555
rsc.io/tmplfunc v0.0.3 // indirect
5656
)

0 commit comments

Comments
 (0)