{.used.} import std/[algorithm, options, sequtils], testutils/unittests, nimcrypto/sha2, libp2p/protobuf/minprotobuf, ../../waku/v2/protocol/waku_store/waku_store, ../../waku/v2/utils/time, ../test_helpers 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..