Skip to content

Commit 5dc9313

Browse files
chore: Update to newer geth and tooling in anticipation of Pectra (#17)
* chore: Update to newer geth and tooling in anticipation of Pectra * chore(deps): Update to geth v1.15.2.
1 parent d3a0482 commit 5dc9313

File tree

5 files changed

+72
-491
lines changed

5 files changed

+72
-491
lines changed

.github/workflows/checks.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Go 1.x
1414
uses: actions/setup-go@v2
1515
with:
16-
go-version: ^1.20
16+
go-version: ^1.22
1717
id: go
1818

1919
- name: Check out code into the Go module directory
@@ -39,7 +39,7 @@ jobs:
3939
- name: Set up Go 1.x
4040
uses: actions/setup-go@v2
4141
with:
42-
go-version: ^1.20
42+
go-version: ^1.22
4343
id: go
4444

4545
- name: Check out code into the Go module directory
@@ -49,10 +49,10 @@ jobs:
4949
run: go install mvdan.cc/gofumpt@latest
5050

5151
- name: Install staticcheck
52-
run: go install honnef.co/go/tools/cmd/staticcheck@v0.4.2
52+
run: go install honnef.co/go/tools/cmd/staticcheck@2024.1.1
5353

5454
- name: Install golangci-lint
55-
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51.2
55+
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.61.0
5656

5757
- name: Lint
5858
run: make lint

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.18 as builder
2+
FROM golang:1.22 as builder
33
WORKDIR /build
44
ADD . /build/
55
RUN --mount=type=cache,target=/root/.cache/go-build make build-for-docker

go.mod

Lines changed: 20 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,47 @@
11
module github.com/flashbots/sync-proxy
22

3-
go 1.20
3+
go 1.22.0
4+
5+
toolchain go1.23.6
46

57
require (
6-
github.com/DataDog/zstd v1.5.2 // indirect
7-
github.com/Microsoft/go-winio v0.6.1 // indirect
8-
github.com/beorn7/perks v1.0.1 // indirect
9-
github.com/bits-and-blooms/bitset v1.10.0 // indirect
10-
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
11-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
12-
github.com/cockroachdb/errors v1.9.1 // indirect
13-
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
14-
github.com/cockroachdb/pebble v0.0.0-20230928194634-aa077af62593 // indirect
15-
github.com/cockroachdb/redact v1.1.3 // indirect
16-
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
17-
github.com/consensys/bavard v0.1.13 // indirect
18-
github.com/consensys/gnark-crypto v0.12.1 // indirect
19-
github.com/crate-crypto/go-ipa v0.0.0-20231025140028-3c0104f4b233 // indirect
20-
github.com/crate-crypto/go-kzg-4844 v0.7.0 // indirect
8+
github.com/Microsoft/go-winio v0.6.2 // indirect
9+
github.com/bits-and-blooms/bitset v1.17.0 // indirect
10+
github.com/consensys/bavard v0.1.22 // indirect
11+
github.com/consensys/gnark-crypto v0.14.0 // indirect
12+
github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a // indirect
13+
github.com/crate-crypto/go-kzg-4844 v1.1.0 // indirect
2114
github.com/davecgh/go-spew v1.1.1 // indirect
22-
github.com/deckarep/golang-set/v2 v2.3.0 // indirect
15+
github.com/deckarep/golang-set/v2 v2.6.0 // indirect
2316
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect
24-
github.com/ethereum/c-kzg-4844 v0.4.0 // indirect
25-
github.com/gballet/go-verkle v0.1.1-0.20231031103413-a67434b50f46 // indirect
26-
github.com/getsentry/sentry-go v0.20.0 // indirect
17+
github.com/ethereum/c-kzg-4844 v1.0.0 // indirect
18+
github.com/ethereum/go-verkle v0.2.2 // indirect
2719
github.com/go-ole/go-ole v1.3.0 // indirect
2820
github.com/gofrs/flock v0.8.1 // indirect
29-
github.com/gogo/protobuf v1.3.2 // indirect
30-
github.com/golang/protobuf v1.5.3 // indirect
3121
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect
3222
github.com/gorilla/websocket v1.5.0 // indirect
33-
github.com/holiman/uint256 v1.2.4 // indirect
34-
github.com/klauspost/compress v1.16.4 // indirect
35-
github.com/kr/pretty v0.3.1 // indirect
36-
github.com/kr/text v0.2.0 // indirect
23+
github.com/holiman/uint256 v1.3.2 // indirect
3724
github.com/mattn/go-runewidth v0.0.14 // indirect
38-
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
3925
github.com/mmcloughlin/addchain v0.4.0 // indirect
4026
github.com/olekukonko/tablewriter v0.0.5 // indirect
41-
github.com/pkg/errors v0.9.1 // indirect
4227
github.com/pmezard/go-difflib v1.0.0 // indirect
43-
github.com/prometheus/client_golang v1.14.0 // indirect
44-
github.com/prometheus/client_model v0.3.0 // indirect
45-
github.com/prometheus/common v0.42.0 // indirect
46-
github.com/prometheus/procfs v0.9.0 // indirect
4728
github.com/rivo/uniseg v0.4.4 // indirect
48-
github.com/rogpeppe/go-internal v1.10.0 // indirect
4929
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
50-
github.com/supranational/blst v0.3.11 // indirect
51-
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
30+
github.com/supranational/blst v0.3.14 // indirect
5231
github.com/tklauser/go-sysconf v0.3.12 // indirect
5332
github.com/tklauser/numcpus v0.6.1 // indirect
5433
github.com/yusufpapurcu/wmi v1.2.2 // indirect
55-
golang.org/x/crypto v0.17.0 // indirect
34+
golang.org/x/crypto v0.32.0 // indirect
5635
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect
57-
golang.org/x/mod v0.14.0 // indirect
58-
golang.org/x/sync v0.5.0 // indirect
59-
golang.org/x/sys v0.16.0 // indirect
60-
golang.org/x/text v0.14.0 // indirect
61-
golang.org/x/tools v0.15.0 // indirect
62-
google.golang.org/protobuf v1.30.0 // indirect
36+
golang.org/x/sync v0.10.0 // indirect
37+
golang.org/x/sys v0.29.0 // indirect
6338
gopkg.in/yaml.v3 v3.0.1 // indirect
6439
rsc.io/tmplfunc v0.0.3 // indirect
6540
)
6641

6742
require (
68-
github.com/ethereum/go-ethereum v1.13.14
43+
github.com/ethereum/go-ethereum v1.15.2
6944
github.com/gorilla/mux v1.8.0
70-
github.com/sirupsen/logrus v1.9.0
71-
github.com/stretchr/testify v1.8.4
45+
github.com/sirupsen/logrus v1.9.3
46+
github.com/stretchr/testify v1.9.0
7247
)

0 commit comments

Comments
 (0)