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

feat: store v3 #2431

Merged
merged 2 commits into from
Apr 25, 2024
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
4 changes: 2 additions & 2 deletions apps/chat2/chat2.nim
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ import
../../waku/waku_lightpush/common,
../../waku/waku_lightpush/rpc,
../../waku/waku_enr,
../../waku/waku_store,
../../waku/discovery/waku_dnsdisc,
../../waku/waku_store_legacy,
../../waku/waku_node,
../../waku/node/waku_metrics,
../../waku/node/peer_manager,
Expand Down Expand Up @@ -469,7 +469,7 @@ proc processInput(rfd: AsyncFD, rng: ref HmacDrbgContext) {.async.} =
# We have a viable storenode. Let's query it for historical messages.
echo "Connecting to storenode: " & $(storenode.get())

node.mountStoreClient()
node.mountLegacyStoreClient()
node.peerManager.addServicePeer(storenode.get(), WakuStoreCodec)

proc storeHandler(response: HistoryResponse) {.gcsafe.} =
Expand Down
9 changes: 8 additions & 1 deletion tests/all_tests_waku.nim
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,16 @@ import
./waku_store/test_waku_store,
./waku_store/test_wakunode_store

# Waku legacy store test suite
import
./waku_store_legacy/test_client,
./waku_store_legacy/test_rpc_codec,
./waku_store_legacy/test_waku_store,
./waku_store_legacy/test_wakunode_store

when defined(waku_exp_store_resume):
# TODO: Review store resume test cases (#1282)
import ./waku_store/test_resume
import ./waku_store_legacy/test_resume

import
./node/test_all,
Expand Down
3 changes: 2 additions & 1 deletion tests/node/test_all.nim
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ import
./test_wakunode_filter,
./test_wakunode_lightpush,
./test_wakunode_peer_exchange,
./test_wakunode_store
./test_wakunode_store,
./test_wakunode_legacy_store
Loading
Loading