{.used.} import std/[options, sequtils, algorithm], testutils/unittests, nimcrypto/sha2, libp2p/protobuf/minprotobuf import ../../waku/v2/node/storage/message/waku_store_queue, ../../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..