Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go: bump github.com/libp2p/go-libp2p from 0.14.4 to 0.15.0 in /go #4257

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .changelog/4006.internal.md

This file was deleted.

1 change: 0 additions & 1 deletion .changelog/4075.internal.md

This file was deleted.

1 change: 1 addition & 0 deletions .changelog/4257.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
go: bump github.com/libp2p/go-libp2p to 0.15.0
15 changes: 6 additions & 9 deletions go/common/encoding/bech32/bech32_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,21 @@ func TestBIP173(t *testing.T) {
"decoding bech32 failed: invalid bech32 string length 91",
},
// No separator character.
{"pzry9x0s0muk", false, "decoding bech32 failed: invalid index of 1"},
{"pzry9x0s0muk", false, "decoding bech32 failed: invalid separator index -1"},
// Empty HRP.
{"1pzry9x0s0muk", false, "decoding bech32 failed: invalid index of 1"},
{"1pzry9x0s0muk", false, "decoding bech32 failed: invalid separator index 0"},
// Invalid data character.
{
"x1b4n0q5v", false,
"decoding bech32 failed: failed converting data to bytes: invalid character not part of charset: 98",
},
{"x1b4n0q5v", false, "decoding bech32 failed: invalid character not part of charset: 98"},
// Too short checksum.
{"li1dgmt3", false, "decoding bech32 failed: invalid index of 1"},
{"li1dgmt3", false, "decoding bech32 failed: invalid separator index 2"},
// Invalid character in checksum.
{"de1lg7wt\xFF", false, "decoding bech32 failed: invalid character in string: 'ÿ'"},
// Checksum calculated with uppercase form of HRP.
{"A1G7SGD8", false, "decoding bech32 failed: checksum failed. Expected 2uel5l, got g7sgd8."},
{"A1G7SGD8", false, "decoding bech32 failed: invalid checksum (expected 2uel5l got g7sgd8)"},
// Empty HRP.
{"10a06t8", false, "decoding bech32 failed: invalid bech32 string length 7"},
// Empty HRP.
{"1qzzfhee", false, "decoding bech32 failed: invalid index of 1"},
{"1qzzfhee", false, "decoding bech32 failed: invalid separator index 0"},
}

for _, vector := range testVectors {
Expand Down
12 changes: 6 additions & 6 deletions go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ replace (
)

require (
github.com/btcsuite/btcutil v1.0.2
github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce
github.com/cenkalti/backoff/v4 v4.1.1
github.com/dgraph-io/badger/v2 v2.2007.2
github.com/dgraph-io/badger/v3 v3.2103.1
Expand All @@ -37,10 +37,10 @@ require (
github.com/hashicorp/go-plugin v1.4.2
github.com/hpcloud/tail v1.0.0
github.com/ianbruene/go-difflib v1.2.0
github.com/libp2p/go-libp2p v0.14.4
github.com/libp2p/go-libp2p-core v0.8.6
github.com/libp2p/go-libp2p v0.15.0
github.com/libp2p/go-libp2p-core v0.9.0
github.com/libp2p/go-libp2p-pubsub v0.5.4
github.com/multiformats/go-multiaddr v0.3.3
github.com/multiformats/go-multiaddr v0.4.0
github.com/oasisprotocol/curve25519-voi v0.0.0-20210505121811-294cf0fbfb43
github.com/oasisprotocol/deoxysii v0.0.0-20200527154044-851aec403956
github.com/powerman/rpc-codec v1.2.2
Expand All @@ -59,8 +59,8 @@ require (
github.com/whyrusleeping/go-logging v0.0.1
gitlab.com/yawning/dynlib.git v0.0.0-20210614104444-f6a90d03b144
go.dedis.ch/kyber/v3 v3.0.13
golang.org/x/crypto v0.0.0-20210506145944-38f3c27a63bf
golang.org/x/net v0.0.0-20210525063256-abc453219eb5
golang.org/x/crypto v0.0.0-20210813211128-0a44fdfbc16e
golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d
google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c
google.golang.org/grpc v1.40.0
google.golang.org/grpc/security/advancedtls v0.0.0-20200902210233-8630cac324bf
Expand Down
Loading