{.used.} import std/[options, sequtils, algorithm], testutils/unittests, libp2p/protobuf/minprotobuf import ../../waku/v2/node/message_store/queue_store/queue_store {.all.}, ../../waku/v2/node/message_store/queue_store/index, ../../waku/v2/protocol/waku_store, ../../waku/v2/protocol/waku_message, ../../waku/v2/utils/time, ./testlib/common proc getTestStoreQueue(numMessages: int): StoreQueueRef = let testStoreQueue = StoreQueueRef.new(numMessages) var data {.noinit.}: array[32, byte] for x in data.mitems: x = 1 for i in 0..