Skip to content

Commit 13448f0

Browse files
upgraded deps
1 parent bf727ff commit 13448f0

694 files changed

Lines changed: 85555 additions & 20735 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

foundation/web/request.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
package web
22

33
import (
4+
"encoding/json"
45
"fmt"
56
"net/http"
6-
7-
"github.com/go-json-experiment/json"
87
)
98

109
// Param returns the web call parameters from the request.
@@ -26,7 +25,7 @@ type validator interface {
2625
// If the provided value is a struct then it is checked for validation tags.
2726
// If the value implements a validate function, it is executed.
2827
func Decode(r *http.Request, val any) error {
29-
if err := json.UnmarshalRead(r.Body, val, json.RejectUnknownMembers(false)); err != nil {
28+
if err := json.NewDecoder(r.Body).Decode(val); err != nil {
3029
return fmt.Errorf("unable to decode payload: %w", err)
3130
}
3231

foundation/web/response.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ package web
22

33
import (
44
"context"
5+
"encoding/json"
56
"net/http"
6-
7-
"github.com/go-json-experiment/json"
87
)
98

109
// Respond converts a Go value to JSON and sends it to the client.

go.mod

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ require (
77
github.com/ardanlabs/darwin/v3 v3.3.1
88
github.com/ardanlabs/ethereum v0.20.0
99
github.com/arl/statsviz v0.7.1
10-
github.com/ethereum/go-ethereum v1.16.2
11-
github.com/gdamore/tcell/v2 v2.8.1
12-
github.com/go-json-experiment/json v0.0.0-20250813024750-ebf49471dced
10+
github.com/ethereum/go-ethereum v1.16.3
11+
github.com/gdamore/tcell/v2 v2.9.0
1312
github.com/go-playground/locales v0.14.1
1413
github.com/go-playground/universal-translator v0.18.1
1514
github.com/go-playground/validator/v10 v10.27.0
@@ -19,8 +18,8 @@ require (
1918
github.com/jackc/pgx/v5 v5.7.5
2019
github.com/jmoiron/sqlx v1.4.0
2120
github.com/mattn/go-runewidth v0.0.16
22-
github.com/open-policy-agent/opa v1.7.1
23-
github.com/spf13/cobra v1.9.1
21+
github.com/open-policy-agent/opa v1.8.0
22+
github.com/spf13/cobra v1.10.1
2423
)
2524

2625
require (
@@ -44,8 +43,9 @@ require (
4443
github.com/crate-crypto/go-eth-kzg v1.3.0 // indirect
4544
github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a // indirect
4645
github.com/davecgh/go-spew v1.1.1 // indirect
46+
github.com/dchest/siphash v1.2.3 // indirect
4747
github.com/deckarep/golang-set/v2 v2.6.0 // indirect
48-
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
48+
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0 // indirect
4949
github.com/emicklei/dot v1.6.2 // indirect
5050
github.com/ethereum/c-kzg-4844/v2 v2.1.0 // indirect
5151
github.com/ethereum/go-verkle v0.2.2 // indirect
@@ -59,6 +59,7 @@ require (
5959
github.com/go-logr/stdr v1.2.2 // indirect
6060
github.com/go-ole/go-ole v1.3.0 // indirect
6161
github.com/gobwas/glob v0.2.3 // indirect
62+
github.com/goccy/go-json v0.10.4 // indirect
6263
github.com/gofrs/flock v0.12.1 // indirect
6364
github.com/gogo/protobuf v1.3.2 // indirect
6465
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect
@@ -77,6 +78,12 @@ require (
7778
github.com/kr/pretty v0.3.1 // indirect
7879
github.com/kr/text v0.2.0 // indirect
7980
github.com/leodido/go-urn v1.4.0 // indirect
81+
github.com/lestrrat-go/blackmagic v1.0.4 // indirect
82+
github.com/lestrrat-go/httpcc v1.0.1 // indirect
83+
github.com/lestrrat-go/httprc/v3 v3.0.0 // indirect
84+
github.com/lestrrat-go/jwx/v3 v3.0.10 // indirect
85+
github.com/lestrrat-go/option v1.0.1 // indirect
86+
github.com/lestrrat-go/option/v2 v2.0.0 // indirect
8087
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
8188
github.com/mattn/go-colorable v0.1.13 // indirect
8289
github.com/mattn/go-isatty v0.0.20 // indirect
@@ -91,24 +98,26 @@ require (
9198
github.com/pion/transport/v2 v2.2.1 // indirect
9299
github.com/pion/transport/v3 v3.0.1 // indirect
93100
github.com/pkg/errors v0.9.1 // indirect
94-
github.com/prometheus/client_golang v1.22.0 // indirect
101+
github.com/prometheus/client_golang v1.23.0 // indirect
95102
github.com/prometheus/client_model v0.6.2 // indirect
96-
github.com/prometheus/common v0.62.0 // indirect
97-
github.com/prometheus/procfs v0.15.1 // indirect
103+
github.com/prometheus/common v0.65.0 // indirect
104+
github.com/prometheus/procfs v0.16.1 // indirect
98105
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 // indirect
99106
github.com/rivo/uniseg v0.4.3 // indirect
100107
github.com/rogpeppe/go-internal v1.14.1 // indirect
101108
github.com/rs/cors v1.7.0 // indirect
102109
github.com/russross/blackfriday/v2 v2.1.0 // indirect
110+
github.com/segmentio/asm v1.2.0 // indirect
103111
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect
104112
github.com/sirupsen/logrus v1.9.3 // indirect
105-
github.com/spf13/pflag v1.0.7 // indirect
113+
github.com/spf13/pflag v1.0.9 // indirect
106114
github.com/supranational/blst v0.3.14 // indirect
107115
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
108116
github.com/tchap/go-patricia/v2 v2.3.3 // indirect
109117
github.com/tklauser/go-sysconf v0.3.12 // indirect
110118
github.com/tklauser/numcpus v0.6.1 // indirect
111119
github.com/urfave/cli/v2 v2.27.5 // indirect
120+
github.com/valyala/fastjson v1.6.4 // indirect
112121
github.com/vektah/gqlparser/v2 v2.5.30 // indirect
113122
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
114123
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
@@ -124,9 +133,9 @@ require (
124133
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect
125134
golang.org/x/net v0.42.0 // indirect
126135
golang.org/x/sync v0.16.0 // indirect
127-
golang.org/x/sys v0.34.0 // indirect
128-
golang.org/x/term v0.33.0 // indirect
129-
golang.org/x/text v0.27.0 // indirect
136+
golang.org/x/sys v0.35.0 // indirect
137+
golang.org/x/term v0.34.0 // indirect
138+
golang.org/x/text v0.28.0 // indirect
130139
golang.org/x/time v0.12.0 // indirect
131140
google.golang.org/genproto/googleapis/api v0.0.0-20250603155806-513f23925822 // indirect
132141
google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822 // indirect

0 commit comments

Comments
 (0)