Skip to content

Commit

Permalink
chore(rln-relay): reduce exports (#1615)
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc authored Mar 20, 2023
1 parent 24d6279 commit 2f3ba3d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion tests/v2/waku_rln_relay/test_rln_group_manager_onchain.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 2 additions & 0 deletions tests/v2/waku_rln_relay/test_waku_rln_relay.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 0 additions & 8 deletions waku/v2/protocol/waku_rln_relay.nim
Original file line number Diff line number Diff line change
@@ -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
3 changes: 1 addition & 2 deletions waku/v2/protocol/waku_rln_relay/rln/wrappers.nim
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import
./rln_interface,
../conversion_utils,
../protocol_types,
../protocol_metrics,
../constants
../protocol_metrics
import
../../waku_keystore,
../../../utils/time
Expand Down

0 comments on commit 2f3ba3d

Please sign in to comment.