{.used.} import std/[options, sequtils], 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, ../../waku/v2/utils/pagination proc createSampleStoreQueue(s: int): StoreQueueRef = ## takes s as input and outputs a StoreQueue with s amount of IndexedWakuMessage let testStoreQueue = StoreQueueRef.new(s) var data {.noinit.}: array[32, byte] for x in data.mitems: x = 1 for i in 0..