Skip to content

Commit a9c75f0

Browse files
authored
fix: new geth lib (#684)
1 parent 3aad66e commit a9c75f0

63 files changed

Lines changed: 1193 additions & 1107 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.

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ jobs:
8282
git reset --hard HEAD
8383
8484
- name: Run Lint
85-
uses: golangci/golangci-lint-action@v6
85+
uses: golangci/golangci-lint-action@v8
8686
with:
87-
version: v1.61
87+
version: v2.1
8888
args: --timeout 15m --verbose ${{ env.GO_LINT_MODULES }}
8989

9090
- name: Run Build

bridge/standard/cmd/relayer/main.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,15 +186,15 @@ func main() {
186186
signal.Notify(sigc, syscall.SIGINT, syscall.SIGTERM)
187187
go func() {
188188
<-sigc
189-
fmt.Fprintln(app.Writer, "received interrupt signal, exiting... Force exit with Ctrl+C")
189+
_, _ = fmt.Fprintln(app.Writer, "received interrupt signal, exiting... Force exit with Ctrl+C")
190190
cancel()
191191
<-sigc
192-
fmt.Fprintln(app.Writer, "force exiting...")
192+
_, _ = fmt.Fprintln(app.Writer, "force exiting...")
193193
os.Exit(1)
194194
}()
195195

196196
if err := app.RunContext(ctx, os.Args); err != nil {
197-
fmt.Fprintf(app.Writer, "exited with error: %v\n", err)
197+
_, _ = fmt.Fprintf(app.Writer, "exited with error: %v\n", err)
198198
}
199199
}
200200

@@ -233,6 +233,7 @@ func start(c *cli.Context) error {
233233
return fmt.Errorf("failed to create node: %w", err)
234234
}
235235

236+
//nolint:staticcheck
236237
<-c.Context.Done()
237238

238239
return nd.Close()

bridge/standard/go.mod

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,49 @@
11
module github.com/primev/mev-commit/bridge/standard
22

3-
go 1.23
3+
go 1.23.0
4+
5+
toolchain go1.24.0
46

57
require (
6-
github.com/ethereum/go-ethereum v1.14.11
8+
github.com/ethereum/go-ethereum v1.15.11
79
github.com/google/go-cmp v0.6.0
810
github.com/lib/pq v1.10.9
911
github.com/primev/mev-commit/contracts-abi v0.0.1
1012
github.com/primev/mev-commit/x v0.0.1
1113
github.com/prometheus/client_golang v1.19.1
1214
github.com/testcontainers/testcontainers-go v0.27.0
1315
github.com/theckman/yacspin v0.13.12
14-
github.com/urfave/cli/v2 v2.27.4
15-
golang.org/x/sync v0.8.0
16+
github.com/urfave/cli/v2 v2.27.5
17+
golang.org/x/sync v0.11.0
1618
)
1719

1820
require (
1921
dario.cat/mergo v1.0.0 // indirect
2022
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
21-
github.com/BurntSushi/toml v1.3.2 // indirect
23+
github.com/BurntSushi/toml v1.4.0 // indirect
2224
github.com/Microsoft/go-winio v0.6.2 // indirect
2325
github.com/Microsoft/hcsshim v0.11.4 // indirect
2426
github.com/StackExchange/wmi v1.2.1 // indirect
2527
github.com/beorn7/perks v1.0.1 // indirect
26-
github.com/bits-and-blooms/bitset v1.14.2 // indirect
27-
github.com/btcsuite/btcd/btcec/v2 v2.3.4 // indirect
28+
github.com/bits-and-blooms/bitset v1.20.0 // indirect
2829
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
2930
github.com/cespare/xxhash/v2 v2.3.0 // indirect
30-
github.com/consensys/bavard v0.1.13 // indirect
31-
github.com/consensys/gnark-crypto v0.14.0 // indirect
31+
github.com/consensys/bavard v0.1.27 // indirect
32+
github.com/consensys/gnark-crypto v0.16.0 // indirect
3233
github.com/containerd/containerd v1.7.11 // indirect
3334
github.com/containerd/log v0.1.0 // indirect
3435
github.com/cpuguy83/dockercfg v0.3.1 // indirect
35-
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
36-
github.com/crate-crypto/go-ipa v0.0.0-20240223125850-b1e8a79f509c // indirect
37-
github.com/crate-crypto/go-kzg-4844 v1.1.0 // indirect
36+
github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect
37+
github.com/crate-crypto/go-eth-kzg v1.3.0 // indirect
38+
github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a // indirect
3839
github.com/deckarep/golang-set/v2 v2.6.0 // indirect
3940
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect
4041
github.com/distribution/reference v0.6.0 // indirect
4142
github.com/docker/docker v25.0.6+incompatible // indirect
4243
github.com/docker/go-connections v0.4.0 // indirect
4344
github.com/docker/go-units v0.5.0 // indirect
44-
github.com/ethereum/c-kzg-4844 v1.0.0 // indirect
45-
github.com/ethereum/go-verkle v0.1.1-0.20240829091221-dffa7562dbe9 // indirect
45+
github.com/ethereum/c-kzg-4844/v2 v2.1.0 // indirect
46+
github.com/ethereum/go-verkle v0.2.2 // indirect
4647
github.com/fatih/color v1.18.0 // indirect
4748
github.com/felixge/httpsnoop v1.0.3 // indirect
4849
github.com/fsnotify/fsnotify v1.7.0 // indirect
@@ -52,7 +53,7 @@ require (
5253
github.com/gogo/protobuf v1.3.2 // indirect
5354
github.com/google/uuid v1.6.0 // indirect
5455
github.com/gorilla/websocket v1.5.3 // indirect
55-
github.com/holiman/uint256 v1.3.1 // indirect
56+
github.com/holiman/uint256 v1.3.2 // indirect
5657
github.com/klauspost/compress v1.17.9 // indirect
5758
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
5859
github.com/magiconair/properties v1.8.7 // indirect
@@ -79,7 +80,7 @@ require (
7980
github.com/shirou/gopsutil/v3 v3.23.11 // indirect
8081
github.com/shoenig/go-m1cpu v0.1.6 // indirect
8182
github.com/sirupsen/logrus v1.9.3 // indirect
82-
github.com/supranational/blst v0.3.13 // indirect
83+
github.com/supranational/blst v0.3.14 // indirect
8384
github.com/tklauser/go-sysconf v0.3.13 // indirect
8485
github.com/tklauser/numcpus v0.7.0 // indirect
8586
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
@@ -88,10 +89,10 @@ require (
8889
go.opentelemetry.io/otel v1.28.0 // indirect
8990
go.opentelemetry.io/otel/metric v1.28.0 // indirect
9091
go.opentelemetry.io/otel/trace v1.28.0 // indirect
91-
golang.org/x/crypto v0.26.0 // indirect
92+
golang.org/x/crypto v0.35.0 // indirect
9293
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
93-
golang.org/x/net v0.28.0 // indirect
94-
golang.org/x/sys v0.26.0 // indirect
94+
golang.org/x/net v0.36.0 // indirect
95+
golang.org/x/sys v0.30.0 // indirect
9596
google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
9697
google.golang.org/grpc v1.67.1 // indirect
9798
google.golang.org/protobuf v1.34.2 // indirect

0 commit comments

Comments
 (0)