Skip to content

Commit f47a2fc

Browse files
committed
Replace go-bip39 dependency
1 parent 35131a8 commit f47a2fc

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

go.mod

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ require (
88
github.com/BurntSushi/toml v1.5.0
99
github.com/Masterminds/semver/v3 v3.3.1
1010
github.com/andybalholm/brotli v1.1.0
11+
github.com/base/go-bip39 v1.1.0
1112
github.com/bmatcuk/doublestar/v4 v4.8.1
1213
github.com/btcsuite/btcd v0.24.2
1314
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0
@@ -25,6 +26,7 @@ require (
2526
github.com/fatih/color v1.18.0
2627
github.com/fsnotify/fsnotify v1.9.0
2728
github.com/go-task/slim-sprig/v3 v3.0.0
29+
github.com/golang-jwt/jwt/v4 v4.5.2
2830
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb
2931
github.com/google/go-cmp v0.7.0
3032
github.com/google/gofuzz v1.2.1-0.20220503160820-4a35382e8fc8
@@ -60,7 +62,6 @@ require (
6062
github.com/schollz/progressbar/v3 v3.18.0
6163
github.com/spf13/afero v1.12.0
6264
github.com/stretchr/testify v1.10.0
63-
github.com/tyler-smith/go-bip39 v1.1.0
6465
github.com/urfave/cli/v2 v2.27.6
6566
go.opentelemetry.io/otel v1.34.0
6667
go.opentelemetry.io/otel/trace v1.34.0
@@ -141,7 +142,6 @@ require (
141142
github.com/godbus/dbus/v5 v5.1.0 // indirect
142143
github.com/gofrs/flock v0.12.1 // indirect
143144
github.com/gogo/protobuf v1.3.2 // indirect
144-
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
145145
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
146146
github.com/google/gopacket v1.1.19 // indirect
147147
github.com/google/pprof v0.0.0-20241009165004-a3522334989c // indirect
@@ -313,3 +313,5 @@ exclude (
313313
github.com/kataras/iris/v12 v12.2.0
314314
github.com/kataras/iris/v12 v12.2.11
315315
)
316+
317+
replace github.com/ethereum-optimism/go-ethereum-hdwallet => github.com/mdehoog/go-ethereum-hdwallet v0.0.0-20250919015454-4f3f74837ae0

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ github.com/armon/go-metrics v0.0.0-20190430140413-ec5e00d3c878/go.mod h1:3AMJUQh
6161
github.com/armon/go-metrics v0.3.8/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc=
6262
github.com/armon/go-metrics v0.4.1 h1:hR91U9KYmb6bLBYLQjyM+3j+rcd/UhE+G78SFnF8gJA=
6363
github.com/armon/go-metrics v0.4.1/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+3JqfkOG4=
64+
github.com/base/go-bip39 v1.1.0 h1:ely6zK09KaQbfX8wpcmN4pRXy0SbbqMT2QF45P1BNh0=
65+
github.com/base/go-bip39 v1.1.0/go.mod h1:grZZXX8gYycovDC4cLS/RS0DmctofwHN+MUhedYCbO0=
6466
github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
6567
github.com/benbjohnson/clock v1.3.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
6668
github.com/benbjohnson/clock v1.3.5 h1:VvXlSJBzZpA/zum6Sj74hxwYI2DIxRWuNIoXAzHZz5o=
@@ -226,8 +228,6 @@ github.com/elastic/gosigar v0.14.3 h1:xwkKwPia+hSfg9GqrCUKYdId102m9qTJIIr7egmK/u
226228
github.com/elastic/gosigar v0.14.3/go.mod h1:iXRIGg2tLnu7LBdpqzyQfGDEidKCfWcCMS0WKyPWoMs=
227229
github.com/emicklei/dot v1.6.2 h1:08GN+DD79cy/tzN6uLCT84+2Wk9u+wvqP+Hkx/dIR8A=
228230
github.com/emicklei/dot v1.6.2/go.mod h1:DeV7GvQtIw4h2u73RKBkkFdvVAz0D9fzeJrgPW6gy/s=
229-
github.com/ethereum-optimism/go-ethereum-hdwallet v0.1.3 h1:RWHKLhCrQThMfch+QJ1Z8veEq5ZO3DfIhZ7xgRP9WTc=
230-
github.com/ethereum-optimism/go-ethereum-hdwallet v0.1.3/go.mod h1:QziizLAiF0KqyLdNJYD7O5cpDlaFMNZzlxYNcWsJUxs=
231231
github.com/ethereum-optimism/op-geth v1.101602.3-rc.1.0.20250917151430-fa03b2609443 h1:m4fd+JpWxAcXK2t4XctQGuIhAJRBfmkHUnvJIBzeHP8=
232232
github.com/ethereum-optimism/op-geth v1.101602.3-rc.1.0.20250917151430-fa03b2609443/go.mod h1:rOTZfq3JrsY8ktvTnS6XT9X+t4WQQ42zFb+hzXua2EU=
233233
github.com/ethereum-optimism/superchain-registry/validation v0.0.0-20250603144016-9c45ca7d4508 h1:A/3QVFt+Aa9ozpPVXxUTLui8honBjSusAaiCVRbafgs=
@@ -577,6 +577,8 @@ github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m
577577
github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc=
578578
github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
579579
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
580+
github.com/mdehoog/go-ethereum-hdwallet v0.0.0-20250919015454-4f3f74837ae0 h1:iQV5P5sPgaF319fr88TzkGZF0NHwzdLAHbbUL997BwI=
581+
github.com/mdehoog/go-ethereum-hdwallet v0.0.0-20250919015454-4f3f74837ae0/go.mod h1:DYj7+vYJ4cIB7zera9mv4LcAynCL5u4YVfoeUu6Wa+w=
580582
github.com/mholt/archiver v3.1.1+incompatible h1:1dCVxuqs0dJseYEhi5pl7MYPH9zDa1wBi7mF09cbNkU=
581583
github.com/mholt/archiver v3.1.1+incompatible/go.mod h1:Dh2dOXnSdiLxRiPoVfIr/fI1TwETms9B8CTWfeh7ROU=
582584
github.com/microcosm-cc/bluemonday v1.0.1/go.mod h1:hsXNsILzKxV+sX77C5b8FSuKF00vh2OMYv+xgHpAMF4=
@@ -891,8 +893,6 @@ github.com/tklauser/go-sysconf v0.3.14/go.mod h1:1ym4lWMLUOhuBOPGtRcJm7tEGX4SCYN
891893
github.com/tklauser/numcpus v0.8.0 h1:Mx4Wwe/FjZLeQsK/6kt2EOepwwSl7SmJrK5bV/dXYgY=
892894
github.com/tklauser/numcpus v0.8.0/go.mod h1:ZJZlAY+dmR4eut8epnzf0u/VwodKmryxR8txiloSqBE=
893895
github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM=
894-
github.com/tyler-smith/go-bip39 v1.1.0 h1:5eUemwrMargf3BSLRRCalXT93Ns6pQJIjYQN2nyfOP8=
895-
github.com/tyler-smith/go-bip39 v1.1.0/go.mod h1:gUYDtqQw1JS3ZJ8UWVcGTGqqr6YIN3CWg+kkNaLt55U=
896896
github.com/ulikunitz/xz v0.5.8/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
897897
github.com/ulikunitz/xz v0.5.12 h1:37Nm15o69RwBkXM0J6A5OlE67RZTfzUxTj8fB3dfcsc=
898898
github.com/ulikunitz/xz v0.5.12/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=

op-chain-ops/devkeys/hd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"crypto/ecdsa"
55
"fmt"
66

7+
"github.com/base/go-bip39"
78
hdwallet "github.com/ethereum-optimism/go-ethereum-hdwallet"
8-
"github.com/tyler-smith/go-bip39"
99

1010
"github.com/ethereum/go-ethereum/accounts"
1111
"github.com/ethereum/go-ethereum/common"

0 commit comments

Comments
 (0)