Skip to content

Commit 2b55ea2

Browse files
committed
fix: update go-eth2-client dependency and use spec.DataVersionFulu constant
1 parent b52c8b7 commit 2b55ea2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/ethpandaops/checkpointz
22

33
go 1.22
44

5-
replace github.com/attestantio/go-eth2-client => github.com/pk910/go-eth2-client v0.0.0-20250515124841-1d7c6ee326e4
5+
replace github.com/attestantio/go-eth2-client => github.com/attestantio/go-eth2-client v0.25.1-0.20250603065335-ce8ba1e2c627
66

77
require (
88
github.com/attestantio/go-eth2-client v0.25.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
github.com/attestantio/go-eth2-client v0.25.1-0.20250603065335-ce8ba1e2c627 h1:UTmXrVrZfSJu2f2aHBBpWktCjhL7osEUE9Mewr90oe0=
2+
github.com/attestantio/go-eth2-client v0.25.1-0.20250603065335-ce8ba1e2c627/go.mod h1:fvULSL9WtNskkOB4i+Yyr6BKpNHXvmpGZj9969fCrfY=
13
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
24
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
35
github.com/btcsuite/btcd/btcec/v2 v2.3.4 h1:3EJjcN70HCu/mwqlUsGK8GcNVyLVxFDlWurTXGPFfiQ=
@@ -155,8 +157,6 @@ github.com/onsi/gomega v1.10.1 h1:o0+MgICZLuZ7xjH7Vx6zS/zcu93/BEp1VwkIW1mEXCE=
155157
github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo=
156158
github.com/pk910/dynamic-ssz v0.0.4 h1:DT29+1055tCEPCaR4V/ez+MOKW7BzBsmjyFvBRqx0ME=
157159
github.com/pk910/dynamic-ssz v0.0.4/go.mod h1:b6CrLaB2X7pYA+OSEEbkgXDEcRnjLOZIxZTsMuO/Y9c=
158-
github.com/pk910/go-eth2-client v0.0.0-20250515124841-1d7c6ee326e4 h1:riGVTN/A3PQsSD1+D0PM0s5QQuP8ksPTV5mKhiPmLlA=
159-
github.com/pk910/go-eth2-client v0.0.0-20250515124841-1d7c6ee326e4/go.mod h1:fvULSL9WtNskkOB4i+Yyr6BKpNHXvmpGZj9969fCrfY=
160160
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
161161
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
162162
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=

pkg/api/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ func (h *Handler) handleEthV2BeaconBlocks(ctx context.Context, r *http.Request,
204204
ContentTypeJSON: block.Electra.MarshalJSON,
205205
ContentTypeSSZ: block.Electra.MarshalSSZ,
206206
})
207-
case "fulu":
207+
case spec.DataVersionFulu.String():
208208
rsp = NewSuccessResponse(ContentTypeResolvers{
209209
ContentTypeJSON: block.Fulu.MarshalJSON,
210210
ContentTypeSSZ: block.Fulu.MarshalSSZ,

0 commit comments

Comments
 (0)