Skip to content

Commit f59b440

Browse files
chore(golang): Update to Go 1.22 (#149)
1 parent ebf1086 commit f59b440

File tree

3 files changed

+95
-42
lines changed

3 files changed

+95
-42
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.20-alpine as builder
1+
FROM golang:1.22-alpine as builder
22
WORKDIR /build
33
ADD . /build
44
RUN apk add --no-cache gcc musl-dev linux-headers git make

go.mod

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
module github.com/flashbots/rpc-endpoint
22

3-
go 1.20
3+
go 1.21
4+
5+
toolchain go1.22.3
46

57
require (
68
github.com/alicebob/miniredis v2.5.0+incompatible
7-
github.com/cespare/xxhash/v2 v2.2.0
8-
github.com/ethereum/go-ethereum v1.13.11
9+
github.com/cespare/xxhash/v2 v2.3.0
10+
github.com/ethereum/go-ethereum v1.14.7
911
github.com/go-redis/redis/v8 v8.11.5
1012
github.com/google/uuid v1.3.0
1113
github.com/lib/pq v1.10.7
1214
github.com/metachris/flashbotsrpc v0.7.0
1315
github.com/pkg/errors v0.9.1
14-
github.com/stretchr/testify v1.8.4
16+
github.com/stretchr/testify v1.9.0
17+
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
1518
)
1619

1720
require (
@@ -20,17 +23,16 @@ require (
2023
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 // indirect
2124
github.com/consensys/bavard v0.1.13 // indirect
2225
github.com/consensys/gnark-crypto v0.12.1 // indirect
23-
github.com/crate-crypto/go-kzg-4844 v0.7.0 // indirect
26+
github.com/crate-crypto/go-kzg-4844 v1.0.0 // indirect
2427
github.com/davecgh/go-spew v1.1.1 // indirect
2528
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
2629
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
27-
github.com/ethereum/c-kzg-4844 v0.4.0 // indirect
28-
github.com/holiman/uint256 v1.2.4 // indirect
30+
github.com/ethereum/c-kzg-4844 v1.0.0 // indirect
31+
github.com/holiman/uint256 v1.3.0 // indirect
2932
github.com/mmcloughlin/addchain v0.4.0 // indirect
3033
github.com/pmezard/go-difflib v1.0.0 // indirect
3134
github.com/supranational/blst v0.3.11 // indirect
32-
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect
33-
golang.org/x/sync v0.5.0 // indirect
35+
golang.org/x/sync v0.7.0 // indirect
3436
gopkg.in/yaml.v3 v3.0.1 // indirect
3537
rsc.io/tmplfunc v0.0.3 // indirect
3638
)
@@ -40,6 +42,6 @@ require (
4042
github.com/gomodule/redigo v1.8.5 // indirect
4143
github.com/jmoiron/sqlx v1.3.4
4244
github.com/yuin/gopher-lua v0.0.0-20200816102855-ee81675732da // indirect
43-
golang.org/x/crypto v0.17.0 // indirect
44-
golang.org/x/sys v0.16.0 // indirect
45+
golang.org/x/crypto v0.22.0 // indirect
46+
golang.org/x/sys v0.20.0 // indirect
4547
)

0 commit comments

Comments
 (0)