From 2f0f346d9ed43ff3a66ed536bb0ab50918af4597 Mon Sep 17 00:00:00 2001 From: stubbsta Date: Thu, 4 Jun 2026 11:57:46 +0200 Subject: [PATCH] fix linting --- tests/waku_rln_relay/test_rln_group_manager_onchain.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/waku_rln_relay/test_rln_group_manager_onchain.nim b/tests/waku_rln_relay/test_rln_group_manager_onchain.nim index 46adfacf1..6af5bb0f2 100644 --- a/tests/waku_rln_relay/test_rln_group_manager_onchain.nim +++ b/tests/waku_rln_relay/test_rln_group_manager_onchain.nim @@ -162,7 +162,8 @@ suite "Onchain group manager": test "trackRootChanges: oldest roots are evicted once the window is exceeded": const initialCount = AcceptableRootWindowSize - RlnContractRootCacheSize - additionalCount = RlnContractRootCacheSize + 1 # one more than the cache size to ensure eviction occurs + additionalCount = RlnContractRootCacheSize + 1 + # one more than the cache size to ensure eviction occurs let credentials = generateCredentials(initialCount + additionalCount) (waitFor manager.init()).isOkOr: raiseAssert $error