Skip to content

Commit 9d15fc4

Browse files
committed
cleanup & go mod tidy
1 parent 2666b75 commit 9d15fc4

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

cmd/tasks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
"github.com/ethpandaops/assertoor/pkg/coordinator/tasks"
1111
"github.com/spf13/cobra"
12-
"gopkg.in/yaml.v2"
12+
"gopkg.in/yaml.v3"
1313
)
1414

1515
// tasksCmd represents the tasks command

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ require (
1010
github.com/gorilla/mux v1.8.1
1111
github.com/herumi/bls-eth-go-binary v1.31.0
1212
github.com/holiman/uint256 v1.2.4
13+
github.com/itchyny/gojq v0.12.14
14+
github.com/juliangruber/go-intersect v1.1.0
1315
github.com/mashingan/smapping v0.1.19
1416
github.com/prometheus/client_golang v1.17.0
1517
github.com/protolambda/zrnt v0.30.0
@@ -22,7 +24,6 @@ require (
2224
github.com/urfave/negroni v1.0.0
2325
github.com/wealdtech/go-eth2-types/v2 v2.8.2
2426
github.com/wealdtech/go-eth2-util v1.8.2
25-
gopkg.in/yaml.v2 v2.4.0
2627
gopkg.in/yaml.v3 v3.0.1
2728
)
2829

@@ -51,9 +52,7 @@ require (
5152
github.com/gorilla/websocket v1.4.2 // indirect
5253
github.com/huandu/go-clone v1.6.0 // indirect
5354
github.com/inconshreveable/mousetrap v1.0.0 // indirect
54-
github.com/itchyny/gojq v0.12.14 // indirect
5555
github.com/itchyny/timefmt-go v0.1.5 // indirect
56-
github.com/juliangruber/go-intersect v1.1.0 // indirect
5756
github.com/kilic/bls12-381 v0.1.0 // indirect
5857
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
5958
github.com/mattn/go-colorable v0.1.13 // indirect
@@ -90,5 +89,6 @@ require (
9089
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
9190
google.golang.org/protobuf v1.31.0 // indirect
9291
gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect
92+
gopkg.in/yaml.v2 v2.4.0 // indirect
9393
rsc.io/tmplfunc v0.0.3 // indirect
9494
)

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
1212
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
1313
github.com/bits-and-blooms/bitset v1.10.0 h1:ePXTeiPEazB5+opbv5fr8umg2R/1NlzgDsyepwsSr88=
1414
github.com/bits-and-blooms/bitset v1.10.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8=
15+
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 h1:DDGfHa7BWjL4YnC6+E63dPcxHo2sUxDIu8g3QgEJdRY=
1516
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4=
1617
github.com/btcsuite/btcd/btcec/v2 v2.2.0 h1:fzn1qaOt32TuLjFlkzYSsBC35Q3KUjT1SwPxiMSCF5k=
1718
github.com/btcsuite/btcd/btcec/v2 v2.2.0/go.mod h1:U7MHm051Al6XmscBQ0BoNydpOTsFAn707034b5nY8zU=
@@ -175,9 +176,8 @@ github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27k
175176
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
176177
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
177178
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
178-
github.com/mattn/go-runewidth v0.0.13 h1:lTGmDsbAYt5DmK6OnoV7EuIF1wEIFAcxld6ypU4OSgU=
179-
github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
180179
github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U=
180+
github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
181181
github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo=
182182
github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4=
183183
github.com/minio/sha256-simd v0.1.0/go.mod h1:2FMWW+8GMoPweT6+pI63m9YE3Lmw4J71hV56Chs1E/U=
@@ -216,8 +216,8 @@ github.com/prysmaticlabs/go-bitfield v0.0.0-20210809151128-385d8c5e3fb7 h1:0tVE4
216216
github.com/prysmaticlabs/go-bitfield v0.0.0-20210809151128-385d8c5e3fb7/go.mod h1:wmuf/mdK4VMD+jA9ThwcUKjg3a2XWM9cVfFYjDyY4j4=
217217
github.com/r3labs/sse/v2 v2.10.0 h1:hFEkLLFY4LDifoHdiCN/LlGBAdVJYsANaLqNYa1l/v0=
218218
github.com/r3labs/sse/v2 v2.10.0/go.mod h1:Igau6Whc+F17QUgML1fYe1VPZzTV6EMCnYktEmkNJ7I=
219-
github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY=
220-
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
219+
github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis=
220+
github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
221221
github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
222222
github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
223223
github.com/rs/cors v1.7.0 h1:+88SsELBHx5r+hZ8TCkggzSstaWNbDvThkVK8H6f9ik=

pkg/coordinator/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/ethpandaops/assertoor/pkg/coordinator/names"
88
"github.com/ethpandaops/assertoor/pkg/coordinator/test"
99
web_types "github.com/ethpandaops/assertoor/pkg/coordinator/web/types"
10-
"gopkg.in/yaml.v2"
10+
"gopkg.in/yaml.v3"
1111
)
1212

1313
type Config struct {

pkg/coordinator/coordinator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"github.com/ethpandaops/assertoor/pkg/coordinator/web/server"
2222
"github.com/prometheus/client_golang/prometheus/promhttp"
2323
"github.com/sirupsen/logrus"
24-
"gopkg.in/yaml.v2"
24+
"gopkg.in/yaml.v3"
2525
)
2626

2727
type Coordinator struct {

pkg/coordinator/vars/variables.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
"github.com/ethpandaops/assertoor/pkg/coordinator/types"
1111
"github.com/itchyny/gojq"
12-
"gopkg.in/yaml.v2"
12+
"gopkg.in/yaml.v3"
1313
)
1414

1515
type Variables struct {

0 commit comments

Comments
 (0)