Skip to content

Commit 0791d1a

Browse files
chore: update changelog
1 parent daaadc6 commit 0791d1a

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

libp2p/docs/CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
55

66
## [Unreleased]
77

8-
## [0.0.0.0] - 2023-02-27
8+
## [0.0.0.1] - 2023-02-27
9+
10+
- Added a new `typesP2P.Network` implementation to the `libp2p` module directory
11+
- Added `PoktProtocolID` for use within the libp2p module or by public API consumers
12+
13+
## [0.0.0.0] - 2023-02-23
914

1015
- prepare pocket repo new libp2p module
1116
- add pocket / libp2p identity helpers

libp2p/network/network_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@ func TestLibp2pNetwork_RemovePeerToAddrBook(t *testing.T) {
9797
existingPeerstoreAddrs := peerstore.Addrs(existingPeerInfo.ID)
9898
require.Len(t, existingPeerstoreAddrs, 1)
9999

100-
// TECHDEBT: currently, the internal addrbook is storing multiaddrs
101-
// in the serviceUrl field as opposed to transforming them (back and forth).
102100
existingPeerMultiaddr, err := Libp2pMultiaddrFromServiceUrl(existingPeer.ServiceUrl)
103101
require.NoError(t, err)
104102
require.Equal(t, existingPeerstoreAddrs[0].String(), existingPeerMultiaddr.String())
@@ -131,7 +129,8 @@ func newTestLibp2pNetwork(t *testing.T) *libp2pNetwork {
131129

132130
logger_ := logger.Global.CreateLoggerForModule("test_module")
133131

134-
// NB: will bind to a random, available port for the duration of this test.
132+
// NB: will bind to a random, available port on the loopback interface
133+
// for the duration of this test.
135134
host, err := libp2p.New(libp2p.ListenAddrStrings("/ip4/127.0.0.1/tcp/0"))
136135
require.NoError(t, err)
137136
defer host.Close()

p2p/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.0.0.30] - 2023-02-27
11+
12+
- Added embedded `modules.InitializableModule` to the P2P `AddrBookProvider` interface so that it can be dependency injected as a `modules.Module` via the bus registry.
13+
1014
## [0.0.0.29] - 2023-02-24
1115

1216
- Update logger value references with pointers

0 commit comments

Comments
 (0)