Skip to content

Commit

Permalink
draft: reproduce issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alrevuelta committed Jan 25, 2023
1 parent 028efc8 commit e728032
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/v2/test_jsonrpc_waku.nim
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import
libp2p/protocols/pubsub/rpc/message
import
../../waku/v1/node/rpc/hexstrings,
../../waku/v2/node/peer_manager/peer_manager,
../../waku/v2/node/waku_node,
../../waku/v2/node/jsonrpc/[store_api,
relay_api,
Expand Down Expand Up @@ -377,8 +378,11 @@ procSuite "Waku v2 JSON-RPC API":
check:
postRes

node1.peerManager.peerStore[AddressBook][peerInfo2.peerId] = @[]

# Verify that newly connected peers are being managed
let getRes = await client.get_waku_v2_admin_v1_peers()
echo "getRest", getRes

check:
getRes.len == 2
Expand Down

0 comments on commit e728032

Please sign in to comment.