From 2f3ba3d6d19324584230b2255e54622f34d1323a Mon Sep 17 00:00:00 2001 From: Aaryamann Challani <43716372+rymnc@users.noreply.github.com> Date: Mon, 20 Mar 2023 16:21:35 +0530 Subject: [PATCH] chore(rln-relay): reduce exports (#1615) --- .../v2/waku_rln_relay/test_rln_group_manager_onchain.nim | 2 +- tests/v2/waku_rln_relay/test_waku_rln_relay.nim | 2 ++ waku/v2/protocol/waku_rln_relay.nim | 8 -------- waku/v2/protocol/waku_rln_relay/rln/wrappers.nim | 3 +-- 4 files changed, 4 insertions(+), 11 deletions(-) diff --git a/tests/v2/waku_rln_relay/test_rln_group_manager_onchain.nim b/tests/v2/waku_rln_relay/test_rln_group_manager_onchain.nim index f0b865469..73c8d844a 100644 --- a/tests/v2/waku_rln_relay/test_rln_group_manager_onchain.nim +++ b/tests/v2/waku_rln_relay/test_rln_group_manager_onchain.nim @@ -6,7 +6,7 @@ else: {.push raises: [].} import - std/[options, osproc, streams, strutils, sequtils], + std/[options, osproc, streams, strutils], stew/[results, byteutils], stew/shims/net as stewNet, testutils/unittests, diff --git a/tests/v2/waku_rln_relay/test_waku_rln_relay.nim b/tests/v2/waku_rln_relay/test_waku_rln_relay.nim index 86f8825df..c1f8f180f 100644 --- a/tests/v2/waku_rln_relay/test_waku_rln_relay.nim +++ b/tests/v2/waku_rln_relay/test_waku_rln_relay.nim @@ -13,6 +13,8 @@ import import ../../../waku/v2/protocol/waku_message, ../../../waku/v2/protocol/waku_rln_relay, + ../../../waku/v2/protocol/waku_rln_relay/rln, + ../../../waku/v2/protocol/waku_rln_relay/protocol_metrics, ../../../waku/v2/protocol/waku_keystore, ../testlib/common diff --git a/waku/v2/protocol/waku_rln_relay.nim b/waku/v2/protocol/waku_rln_relay.nim index c14681a06..a7058f37c 100644 --- a/waku/v2/protocol/waku_rln_relay.nim +++ b/waku/v2/protocol/waku_rln_relay.nim @@ -1,19 +1,11 @@ import - ./waku_rln_relay/rln, - ./waku_rln_relay/constants, - ./waku_rln_relay/protocol_types, ./waku_rln_relay/group_manager, - ./waku_rln_relay/protocol_metrics, ./waku_rln_relay/conversion_utils, ./waku_rln_relay/rln_relay, ./waku_rln_relay/contract export - rln, - constants, - protocol_types, group_manager, - protocol_metrics, conversion_utils, rln_relay, contract diff --git a/waku/v2/protocol/waku_rln_relay/rln/wrappers.nim b/waku/v2/protocol/waku_rln_relay/rln/wrappers.nim index 98dc0c538..91f237c3d 100644 --- a/waku/v2/protocol/waku_rln_relay/rln/wrappers.nim +++ b/waku/v2/protocol/waku_rln_relay/rln/wrappers.nim @@ -8,8 +8,7 @@ import ./rln_interface, ../conversion_utils, ../protocol_types, - ../protocol_metrics, - ../constants + ../protocol_metrics import ../../waku_keystore, ../../../utils/time