Skip to content

Commit

Permalink
Merge pull request #987 from libp2p/fix/boxo-v0.22.0
Browse files Browse the repository at this point in the history
fix: replace deprecated Boxo function
  • Loading branch information
guillaumemichel authored Aug 27, 2024
2 parents 541a8d0 + 07fd38c commit 3989875
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ require (
github.com/ipfs/go-datastore v0.6.0
github.com/ipfs/go-detect-race v0.0.1
github.com/ipfs/go-log/v2 v2.5.1
github.com/ipfs/go-test v0.0.4
github.com/libp2p/go-libp2p v0.36.2
github.com/libp2p/go-libp2p-kbucket v0.6.4
github.com/libp2p/go-libp2p-record v0.2.0
Expand Down Expand Up @@ -60,6 +61,8 @@ require (
github.com/gorilla/websocket v1.5.3 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/huin/goupnp v1.3.0 // indirect
github.com/ipfs/go-block-format v0.2.0 // indirect
github.com/ipfs/go-ipfs-util v0.0.3 // indirect
github.com/ipfs/go-log v1.0.5 // indirect
github.com/ipld/go-ipld-prime v0.21.0 // indirect
github.com/jackpal/go-nat-pmp v1.0.2 // indirect
Expand Down
3 changes: 2 additions & 1 deletion records_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"github.com/libp2p/go-libp2p/core/test"

u "github.com/ipfs/boxo/util"
"github.com/ipfs/go-test/random"
record "github.com/libp2p/go-libp2p-record"
tnet "github.com/libp2p/go-libp2p-testing/net"
ci "github.com/libp2p/go-libp2p/core/crypto"
Expand Down Expand Up @@ -151,7 +152,7 @@ func TestPubkeyNotFound(t *testing.T) {

connect(t, ctx, dhtA, dhtB)

r := u.NewSeededRand(15) // generate deterministic keypair
r := random.NewSeededRand(15) // generate deterministic keypair
_, pubk, err := ci.GenerateKeyPairWithReader(ci.RSA, 2048, r)
if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit 3989875

Please sign in to comment.