Skip to content

Commit

Permalink
chore: update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanchriswhite committed Feb 27, 2023
1 parent d31b9de commit 77f2b78
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
7 changes: 6 additions & 1 deletion libp2p/docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.0.0.0] - 2023-02-27
## [0.0.0.1] - 2023-02-27

- Added a new `typesP2P.Network` implementation to the `libp2p` module directory
- Added `PoktProtocolID` for use within the libp2p module or by public API consumers

## [0.0.0.0] - 2023-02-23

- prepare pocket repo new libp2p module
- add pocket / libp2p identity helpers
Expand Down
5 changes: 2 additions & 3 deletions libp2p/network/network_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ func TestLibp2pNetwork_RemovePeerToAddrBook(t *testing.T) {
existingPeerstoreAddrs := peerstore.Addrs(existingPeerInfo.ID)
require.Len(t, existingPeerstoreAddrs, 1)

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

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

// NB: will bind to a random, available port for the duration of this test.
// NB: will bind to a random, available port on the loopback interface
// for the duration of this test.
host, err := libp2p.New(libp2p.ListenAddrStrings("/ip4/127.0.0.1/tcp/0"))
require.NoError(t, err)
defer host.Close()
Expand Down
4 changes: 4 additions & 0 deletions p2p/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.0.0.30] - 2023-02-27

- Added embedded `modules.InitializableModule` to the P2P `AddrBookProvider` interface so that it can be dependency injected as a `modules.Module` via the bus registry.

## [0.0.0.29] - 2023-02-24

- Update logger value references with pointers
Expand Down

0 comments on commit 77f2b78

Please sign in to comment.